#662183#662183
#662183 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.161 H 313.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #662183 |
|---|---|
| RGB | rgb(102, 33, 131) |
| HSL | hsl(282, 60%, 32%) |
| HSV | hsv(282, 75%, 51%) |
| CMYK | cmyk(22.1%, 74.8%, 0%, 48.6%) |
| CIE-LAB | lab(28.25, 46.24, -41.08) |
| CIE-LCH | lch(28.25, 61.85, 318.38°) |
| OKLab | oklab(40.2% 0.111 -0.1159) |
| OKLCH | oklch(40.2% 0.161 313.8) |
| XYZ | xyz(10.1194, 5.5515, 22.0068) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.23
Purple (survey)
#7E1E9C
ΔE00 5.24
Darkish Purple
#751973
ΔE00 5.51
Purple
#800080
ΔE00 5.80
Darkmagenta
#8B008B
ΔE00 7.00
Indigo
#4B0082
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662183 #3E8321
analogous
#352183 #662183 #83216F
triadic
#662183 #836621 #218366
tetradic
#662183 #833521 #3E8321 #216F83
square
#662183 #833521 #3E8321 #216F83
split-complementary
#662183 #6F8321 #218335
monochromatic
#1A0821 #401552 #662183 #8C2DB4 #AA4CD2
Accessibility & contrast
On white
9.95
#662183 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#662183 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662183
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662183 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662183 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#633650
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #662183; /* rgb */ color: rgb(102, 33, 131); /* oklch */ color: oklch(40.2% 0.161 313.8);
Tailwind
colors: {
custom: {
50: '#9563a8',
500: '#662183',
950: '#000000',
},
}SCSS
$custom: #662183; $custom-light: #9563a8; $custom-dark: #000000;
JSON
{
"hex": "#662183",
"rgb": {
"r": 102,
"g": 33,
"b": 131
},
"hsl": {
"h": 282.245,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.40198,
"c": 0.16052,
"h": 313.8
},
"luminance": 0.05551
}Semantic roles & 50–950 ramp
primary
#662183
secondary
#6AB54B
accent
#E34574
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F