#66309E#66309E
#66309E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.170 H 302.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #66309E |
|---|---|
| RGB | rgb(102, 48, 158) |
| HSL | hsl(269, 53%, 40%) |
| HSV | hsv(269, 70%, 62%) |
| CMYK | cmyk(35.4%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(32.72, 45.68, -50.49) |
| CIE-LCH | lch(32.72, 68.08, 312.14°) |
| OKLab | oklab(44.01% 0.091 -0.1437) |
| OKLCH | oklch(44.01% 0.17 302.3) |
| XYZ | xyz(12.7065, 7.4073, 33.1014) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.12
Purple (survey)
#7E1E9C
ΔE00 5.28
Purple Blue
#5D21D0
ΔE00 7.56
Bluey Purple
#6241C7
ΔE00 7.64
Ocean Blue
#4F42B5
ΔE00 7.66
Blue With A Hint Of Purple
#533CC6
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66309E #689E30
analogous
#30319E #66309E #9D309E
triadic
#66309E #9E6630 #309E66
tetradic
#66309E #9E3031 #689E30 #309E9D
square
#66309E #9E3031 #689E30 #309E9D
split-complementary
#66309E #9E9D30 #319E30
monochromatic
#291340 #48226F #66309E #8445C6 #A374D5
Accessibility & contrast
On white
8.46
#66309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#66309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66309E
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66309E | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#5A4A63
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #66309e; /* rgb */ color: rgb(102, 48, 158); /* oklch */ color: oklch(44.0% 0.170 302.3);
Tailwind
colors: {
custom: {
50: '#966dbb',
500: '#66309e',
950: '#000000',
},
}SCSS
$custom: #66309e; $custom-light: #966dbb; $custom-dark: #000000;
JSON
{
"hex": "#66309e",
"rgb": {
"r": 102,
"g": 48,
"b": 158
},
"hsl": {
"h": 269.455,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.4401,
"c": 0.17004,
"h": 302.3
},
"luminance": 0.07407
}Semantic roles & 50–950 ramp
primary
#66309E
secondary
#96BD6D
accent
#DD4B95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81