#66248C#66248C
#66248C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.166 H 310.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #66248C |
|---|---|
| RGB | rgb(102, 36, 140) |
| HSL | hsl(278, 59%, 35%) |
| HSV | hsv(278, 74%, 55%) |
| CMYK | cmyk(27.1%, 74.3%, 0%, 45.1%) |
| CIE-LAB | lab(29.36, 46.97, -44.89) |
| CIE-LCH | lch(29.36, 64.97, 316.30°) |
| OKLab | oklab(41.2% 0.1066 -0.1271) |
| OKLCH | oklch(41.2% 0.166 310) |
| XYZ | xyz(10.8431, 5.9802, 25.3890) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.74
Purple (survey)
#7E1E9C
ΔE00 4.57
Purple
#800080
ΔE00 6.79
Darkish Purple
#751973
ΔE00 6.96
Indigo
#4B0082
ΔE00 7.04
Darkmagenta
#8B008B
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66248C #4A8C24
analogous
#32248C #66248C #8C247E
triadic
#66248C #8C6624 #248C66
tetradic
#66248C #8C3224 #4A8C24 #247E8C
square
#66248C #8C3224 #4A8C24 #247E8C
split-complementary
#66248C #7E8C24 #248C32
monochromatic
#1F0B2B #43175B #66248C #8931BD #A657D4
Accessibility & contrast
On white
9.56
#66248C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#66248C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66248C
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66248C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66248C | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#613C56
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #66248c; /* rgb */ color: rgb(102, 36, 140); /* oklch */ color: oklch(41.2% 0.166 310.0);
Tailwind
colors: {
custom: {
50: '#9665ae',
500: '#66248c',
950: '#000000',
},
}SCSS
$custom: #66248c; $custom-light: #9665ae; $custom-dark: #000000;
JSON
{
"hex": "#66248c",
"rgb": {
"r": 102,
"g": 36,
"b": 140
},
"hsl": {
"h": 278.077,
"s": 59.091,
"l": 34.51
},
"oklch": {
"l": 0.41196,
"c": 0.16591,
"h": 310
},
"luminance": 0.0598
}Semantic roles & 50–950 ramp
primary
#66248C
secondary
#78B854
accent
#E2467F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F