#3E2289#3E2289
#3E2289 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.159 H 288.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2289 |
|---|---|
| RGB | rgb(62, 34, 137) |
| HSL | hsl(256, 60%, 34%) |
| HSV | hsv(256, 75%, 54%) |
| CMYK | cmyk(54.7%, 75.2%, 0%, 46.3%) |
| CIE-LAB | lab(23.59, 39.68, -52.66) |
| CIE-LCH | lch(23.59, 65.93, 307.00°) |
| OKLab | oklab(35.89% 0.0492 -0.1514) |
| OKLCH | oklch(35.89% 0.159 288) |
| XYZ | xyz(7.0727, 3.9740, 24.0564) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.10
Royal
#0C1793
ΔE00 5.49
Indigo
#4B0082
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.93
Midnight Blue
#191970
ΔE00 6.23
Cobalt Blue
#030AA7
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2289 #6D8922
analogous
#223989 #3E2289 #712289
triadic
#3E2289 #893E22 #22893E
tetradic
#3E2289 #892239 #6D8922 #228971
square
#3E2289 #892239 #6D8922 #228971
split-complementary
#3E2289 #897122 #398922
monochromatic
#120A27 #281658 #3E2289 #542EBA #7551D4
Accessibility & contrast
On white
11.70
#3E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3E2289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2289
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2289 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#203E53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e2289; /* rgb */ color: rgb(62, 34, 137); /* oklch */ color: oklch(35.9% 0.159 288.0);
Tailwind
colors: {
custom: {
50: '#7c60ac',
500: '#3e2289',
950: '#000000',
},
}SCSS
$custom: #3e2289; $custom-light: #7c60ac; $custom-dark: #000000;
JSON
{
"hex": "#3e2289",
"rgb": {
"r": 62,
"g": 34,
"b": 137
},
"hsl": {
"h": 256.311,
"s": 60.234,
"l": 33.529
},
"oklch": {
"l": 0.35886,
"c": 0.15918,
"h": 288
},
"luminance": 0.03974
}Semantic roles & 50–950 ramp
primary
#3E2289
secondary
#9BB84F
accent
#E344B8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F