#66239F#66239F
#66239F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.186 H 303.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #66239F |
|---|---|
| RGB | rgb(102, 35, 159) |
| HSL | hsl(272, 64%, 38%) |
| HSV | hsv(272, 78%, 62%) |
| CMYK | cmyk(35.8%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(30.71, 51.81, -54.35) |
| CIE-LCH | lch(30.71, 75.09, 313.63°) |
| OKLab | oklab(42.62% 0.1036 -0.1549) |
| OKLCH | oklch(42.62% 0.186 303.8) |
| XYZ | xyz(12.3371, 6.5301, 33.4046) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.30
Purple (survey)
#7E1E9C
ΔE00 4.76
Violet Blue
#510AC9
ΔE00 7.07
Purple Blue
#5D21D0
ΔE00 7.10
Indigo Blue
#3A18B1
ΔE00 7.49
Indigo
#4B0082
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66239F #5C9F23
analogous
#28239F #66239F #9F239A
triadic
#66239F #9F6623 #239F66
tetradic
#66239F #9F2823 #5C9F23 #239A9F
square
#66239F #9F2823 #5C9F23 #239A9F
split-complementary
#66239F #9A9F23 #239F28
monochromatic
#260D3B #46186D #66239F #862ED1 #A360DC
Accessibility & contrast
On white
9.11
#66239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#66239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66239F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66239F | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#5B4360
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #66239f; /* rgb */ color: rgb(102, 35, 159); /* oklch */ color: oklch(42.6% 0.186 303.8);
Tailwind
colors: {
custom: {
50: '#9766bc',
500: '#66239f',
950: '#000000',
},
}SCSS
$custom: #66239f; $custom-light: #9766bc; $custom-dark: #000000;
JSON
{
"hex": "#66239f",
"rgb": {
"r": 102,
"g": 35,
"b": 159
},
"hsl": {
"h": 272.419,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.42616,
"c": 0.18638,
"h": 303.8
},
"luminance": 0.0653
}Semantic roles & 50–950 ramp
primary
#66239F
secondary
#8BC15D
accent
#E7418D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81