#3E189F#3E189F
#3E189F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.194 H 284.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3E189F |
|---|---|
| RGB | rgb(62, 24, 159) |
| HSL | hsl(257, 74%, 36%) |
| HSV | hsv(257, 85%, 62%) |
| CMYK | cmyk(61%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(24.26, 50.68, -65.14) |
| CIE-LCH | lch(24.26, 82.53, 307.88°) |
| OKLab | oklab(37.04% 0.0489 -0.1877) |
| OKLCH | oklch(37.04% 0.194 284.6) |
| XYZ | xyz(8.5693, 4.1800, 33.1494) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.46
Ultramarine
#2000B1
ΔE00 4.05
Cobalt Blue
#030AA7
ΔE00 4.51
Royal Blue (survey)
#0504AA
ΔE00 4.65
Royal
#0C1793
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E189F #799F18
analogous
#18359F #3E189F #81189F
triadic
#3E189F #9F3E18 #189F3E
tetradic
#3E189F #9F1835 #799F18 #189F81
square
#3E189F #9F1835 #799F18 #189F81
split-complementary
#3E189F #9F8118 #359F18
monochromatic
#150835 #29106A #3E189F #5320D4 #784DE4
Accessibility & contrast
On white
11.44
#3E189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3E189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E189F
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E189F | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e189f; /* rgb */ color: rgb(62, 24, 159); /* oklch */ color: oklch(37.0% 0.194 284.6);
Tailwind
colors: {
custom: {
50: '#815cbd',
500: '#3e189f',
950: '#000000',
},
}SCSS
$custom: #3e189f; $custom-light: #815cbd; $custom-dark: #000000;
JSON
{
"hex": "#3e189f",
"rgb": {
"r": 62,
"g": 24,
"b": 159
},
"hsl": {
"h": 256.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.37036,
"c": 0.19401,
"h": 284.6
},
"luminance": 0.04181
}Semantic roles & 50–950 ramp
primary
#3E189F
secondary
#A4C64D
accent
#F037BC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981