#3E188E#3E188E
#3E188E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.175 H 288.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3E188E |
|---|---|
| RGB | rgb(62, 24, 142) |
| HSL | hsl(259, 71%, 33%) |
| HSV | hsv(259, 83%, 56%) |
| CMYK | cmyk(56.3%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(22.41, 45.95, -57.71) |
| CIE-LCH | lch(22.41, 73.77, 308.53°) |
| OKLab | oklab(35.22% 0.0551 -0.1661) |
| OKLCH | oklch(35.22% 0.175 288.4) |
| XYZ | xyz(7.1943, 3.6300, 25.9075) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.48
Indigo
#4B0082
ΔE00 4.19
Royal
#0C1793
ΔE00 4.86
Indigo Blue
#3A18B1
ΔE00 4.91
Cobalt Blue
#030AA7
ΔE00 5.63
Ultramarine
#2000B1
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E188E #688E18
analogous
#182D8E #3E188E #79188E
triadic
#3E188E #8E3E18 #188E3E
tetradic
#3E188E #8E182D #688E18 #188E79
square
#3E188E #8E182D #688E18 #188E79
split-complementary
#3E188E #8E7918 #2D8E18
monochromatic
#100625 #270F5A #3E188E #5521C2 #7441DF
Accessibility & contrast
On white
12.17
#3E188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3E188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E188E
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E188E | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#1C3C54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e188e; /* rgb */ color: rgb(62, 24, 142); /* oklch */ color: oklch(35.2% 0.175 288.4);
Tailwind
colors: {
custom: {
50: '#7d5bb0',
500: '#3e188e',
950: '#000000',
},
}SCSS
$custom: #3e188e; $custom-light: #7d5bb0; $custom-dark: #000000;
JSON
{
"hex": "#3e188e",
"rgb": {
"r": 62,
"g": 24,
"b": 142
},
"hsl": {
"h": 259.322,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.35215,
"c": 0.17499,
"h": 288.4
},
"luminance": 0.0363
}Semantic roles & 50–950 ramp
primary
#3E188E
secondary
#97C042
accent
#EE3AB4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980