#662CAD#662CAD
#662CAD is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.191 H 298.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #662CAD |
|---|---|
| RGB | rgb(102, 44, 173) |
| HSL | hsl(267, 59%, 43%) |
| HSV | hsv(267, 75%, 68%) |
| CMYK | cmyk(41%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(33.23, 51.37, -58.68) |
| CIE-LCH | lch(33.23, 77.99, 311.20°) |
| OKLab | oklab(44.75% 0.0921 -0.1677) |
| OKLCH | oklch(44.75% 0.191 298.8) |
| XYZ | xyz(13.9211, 7.6431, 40.2689) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.58
Purple Blue
#5D21D0
ΔE00 5.10
Purple (survey)
#7E1E9C
ΔE00 6.07
Blurple
#5539CC
ΔE00 6.10
Blue With A Hint Of Purple
#533CC6
ΔE00 6.16
Violet Blue
#510AC9
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662CAD #73AD2C
analogous
#2C32AD #662CAD #A72CAD
triadic
#662CAD #AD662C #2CAD66
tetradic
#662CAD #AD2C32 #73AD2C #2CADA7
square
#662CAD #AD2C32 #73AD2C #2CADA7
split-complementary
#662CAD #ADA72C #32AD2C
monochromatic
#2C134B #49207C #662CAD #8446D0 #A577DC
Accessibility & contrast
On white
8.30
#662CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#662CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662CAD
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662CAD | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#554D6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #662cad; /* rgb */ color: rgb(102, 44, 173); /* oklch */ color: oklch(44.7% 0.191 298.8);
Tailwind
colors: {
custom: {
50: '#986bc6',
500: '#662cad',
950: '#000000',
},
}SCSS
$custom: #662cad; $custom-light: #986bc6; $custom-dark: #000000;
JSON
{
"hex": "#662cad",
"rgb": {
"r": 102,
"g": 44,
"b": 173
},
"hsl": {
"h": 266.977,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.44745,
"c": 0.19137,
"h": 298.8
},
"luminance": 0.07643
}Semantic roles & 50–950 ramp
primary
#662CAD
secondary
#9FC471
accent
#E3459C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82