More
More
#9600A2 colour
#9600A2 is a dark purple close to CSS darkmagenta. RGB 150, 0, 162, HSL 296, 100%, 32%. White text passes AAA (7.45:1), black fails (2.82:1).
- Nearest CSS name
darkmagenta#8b008b (not an exact match)- Described as
- a dark purple
- Red, green, blue
- 150, 0, 162
- Web safe
- No
- Luminance
- 0.0909 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #9600a2 | |
|---|---|---|
| RGB | rgb(150, 0, 162) | |
| RGB (percent) | rgb(58.8% 0% 63.5%) | |
| HSL | hsl(295.6, 100%, 31.8%) | |
| HSV / HSB | hsv(295.6, 100%, 63.5%) | |
| HWB | hwb(295.6 0% 36.5%) | |
| CMYK (naive) | cmyk(7%, 100%, 0%, 36%) | |
| CIELAB (D50) | lab(35.94% 64.34 -46.94) | |
| OKLCH | oklch(48.03% 0.2254 324.32) | |
| Decimal | 9830562 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 7.45:1 | Pass | Pass | Pass | Pass |
| Black | 2.82:1 | Fail | Fail | Fail | Fail |
White text is the better choice on #9600A2 (7.45:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #9600a2; | |
|---|---|---|
| Background | background-color: #9600a2; | |
| Border | border: 1px solid #9600a2; | |
| Half transparent | background-color: rgb(150 0 162 / 50%); | |
| Custom property | --colour-main: #9600a2; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #9600a2, #5a0061); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #c066c7, #9600a2); | |
| Text on this colour | background-color: #9600a2; color: #fff; |
Similar named colours
darkmagenta#8b008b, distance 4.2purple#800080, distance 6.9darkviolet#9400d3, distance 7.9darkorchid#9932cc, distance 7.9rebeccapurple#663399, distance 10.3blueviolet#8a2be2, distance 11.1#0ca200Complement of #9600A2
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #9600A2 to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.