#3E2286#3E2286
#3E2286 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.155 H 288.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2286 |
|---|---|
| RGB | rgb(62, 34, 134) |
| HSL | hsl(257, 60%, 33%) |
| HSV | hsv(257, 75%, 53%) |
| CMYK | cmyk(53.7%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(23.30, 38.78, -51.24) |
| CIE-LCH | lch(23.30, 64.26, 307.12°) |
| OKLab | oklab(35.6% 0.0499 -0.1472) |
| OKLCH | oklch(35.6% 0.155 288.7) |
| XYZ | xyz(6.8605, 3.8891, 22.9388) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.09
Indigo
#4B0082
ΔE00 5.49
Royal
#0C1793
ΔE00 5.72
Midnight Blue
#191970
ΔE00 6.03
Indigo Blue
#3A18B1
ΔE00 6.40
Cobalt Blue
#030AA7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2286 #6A8622
analogous
#223886 #3E2286 #702286
triadic
#3E2286 #863E22 #22863E
tetradic
#3E2286 #862238 #6A8622 #228670
square
#3E2286 #862238 #6A8622 #228670
split-complementary
#3E2286 #867022 #388622
monochromatic
#110924 #271655 #3E2286 #552EB7 #7450D3
Accessibility & contrast
On white
11.81
#3E2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3E2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2286
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2286 | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#233D52
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e2286; /* rgb */ color: rgb(62, 34, 134); /* oklch */ color: oklch(35.6% 0.155 288.7);
Tailwind
colors: {
custom: {
50: '#7b60aa',
500: '#3e2286',
950: '#000000',
},
}SCSS
$custom: #3e2286; $custom-light: #7b60aa; $custom-dark: #000000;
JSON
{
"hex": "#3e2286",
"rgb": {
"r": 62,
"g": 34,
"b": 134
},
"hsl": {
"h": 256.8,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.35598,
"c": 0.15548,
"h": 288.7
},
"luminance": 0.03889
}Semantic roles & 50–950 ramp
primary
#3E2286
secondary
#99B64E
accent
#E345B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F