#66238F#66238F
#66238F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 309.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #66238F |
|---|---|
| RGB | rgb(102, 35, 143) |
| HSL | hsl(277, 61%, 35%) |
| HSV | hsv(277, 76%, 56%) |
| CMYK | cmyk(28.7%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(29.44, 48.08, -46.62) |
| CIE-LCH | lch(29.44, 66.98, 315.88°) |
| OKLab | oklab(41.32% 0.1071 -0.1322) |
| OKLCH | oklch(41.32% 0.17 309) |
| XYZ | xyz(11.0374, 6.0102, 26.5599) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.59
Purple (survey)
#7E1E9C
ΔE00 4.46
Indigo
#4B0082
ΔE00 6.90
Purple
#800080
ΔE00 7.04
Darkish Purple
#751973
ΔE00 7.40
Darkmagenta
#8B008B
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66238F #4C8F23
analogous
#30238F #66238F #8F2382
triadic
#66238F #8F6623 #238F66
tetradic
#66238F #8F3023 #4C8F23 #23828F
square
#66238F #8F3023 #4C8F23 #23828F
split-complementary
#66238F #828F23 #238F30
monochromatic
#200B2D #43175E #66238F #892FC0 #A657D6
Accessibility & contrast
On white
9.54
#66238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#66238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66238F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66238F | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#603C57
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #66238f; /* rgb */ color: rgb(102, 35, 143); /* oklch */ color: oklch(41.3% 0.170 309.0);
Tailwind
colors: {
custom: {
50: '#9665b0',
500: '#66238f',
950: '#000000',
},
}SCSS
$custom: #66238f; $custom-light: #9665b0; $custom-dark: #000000;
JSON
{
"hex": "#66238f",
"rgb": {
"r": 102,
"g": 35,
"b": 143
},
"hsl": {
"h": 277.222,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.41321,
"c": 0.17016,
"h": 309
},
"luminance": 0.0601
}Semantic roles & 50–950 ramp
primary
#66238F
secondary
#7BBA54
accent
#E44481
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80