#66219E#66219E
#66219E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.187 H 304.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #66219E |
|---|---|
| RGB | rgb(102, 33, 158) |
| HSL | hsl(273, 65%, 37%) |
| HSV | hsv(273, 79%, 62%) |
| CMYK | cmyk(35.4%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(30.35, 52.37, -54.33) |
| CIE-LCH | lch(30.35, 75.46, 313.95°) |
| OKLab | oklab(42.34% 0.1056 -0.1549) |
| OKLCH | oklch(42.34% 0.187 304.3) |
| XYZ | xyz(12.1935, 6.3812, 32.9304) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.56
Purple (survey)
#7E1E9C
ΔE00 4.72
Violet Blue
#510AC9
ΔE00 7.11
Indigo
#4B0082
ΔE00 7.26
Purple Blue
#5D21D0
ΔE00 7.27
Indigo Blue
#3A18B1
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66219E #599E21
analogous
#28219E #66219E #9E2198
triadic
#66219E #9E6621 #219E66
tetradic
#66219E #9E2821 #599E21 #21989E
square
#66219E #9E2821 #599E21 #21989E
split-complementary
#66219E #989E21 #219E28
monochromatic
#250C39 #45166B #66219E #872CD1 #A35CDD
Accessibility & contrast
On white
9.23
#66219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#66219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66219E
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66219E | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5B425F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #66219e; /* rgb */ color: rgb(102, 33, 158); /* oklch */ color: oklch(42.3% 0.187 304.3);
Tailwind
colors: {
custom: {
50: '#9765bc',
500: '#66219e',
950: '#000000',
},
}SCSS
$custom: #66219e; $custom-light: #9765bc; $custom-dark: #000000;
JSON
{
"hex": "#66219e",
"rgb": {
"r": 102,
"g": 33,
"b": 158
},
"hsl": {
"h": 273.12,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4234,
"c": 0.18742,
"h": 304.3
},
"luminance": 0.06381
}Semantic roles & 50–950 ramp
primary
#66219E
secondary
#88C159
accent
#E83F8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81