#3E198F#3E198F
#3E198F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.175 H 288.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3E198F |
|---|---|
| RGB | rgb(62, 25, 143) |
| HSL | hsl(259, 70%, 33%) |
| HSV | hsv(259, 83%, 56%) |
| CMYK | cmyk(56.6%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(22.66, 45.80, -57.92) |
| CIE-LCH | lch(22.66, 73.84, 308.34°) |
| OKLab | oklab(35.42% 0.0542 -0.1667) |
| OKLCH | oklch(35.42% 0.175 288) |
| XYZ | xyz(7.2907, 3.7022, 26.3117) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.70
Indigo
#4B0082
ΔE00 4.39
Indigo Blue
#3A18B1
ΔE00 4.75
Royal
#0C1793
ΔE00 4.82
Cobalt Blue
#030AA7
ΔE00 5.59
Ultramarine
#2000B1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E198F #6A8F19
analogous
#192F8F #3E198F #79198F
triadic
#3E198F #8F3E19 #198F3E
tetradic
#3E198F #8F192F #6A8F19 #198F79
square
#3E198F #8F192F #6A8F19 #198F79
split-complementary
#3E198F #8F7919 #2F8F19
monochromatic
#110727 #27105B #3E198F #5522C3 #7444DE
Accessibility & contrast
On white
12.06
#3E198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3E198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E198F
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E198F | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#1A3C55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e198f; /* rgb */ color: rgb(62, 25, 143); /* oklch */ color: oklch(35.4% 0.175 288.0);
Tailwind
colors: {
custom: {
50: '#7e5cb1',
500: '#3e198f',
950: '#000000',
},
}SCSS
$custom: #3e198f; $custom-light: #7e5cb1; $custom-dark: #000000;
JSON
{
"hex": "#3e198f",
"rgb": {
"r": 62,
"g": 25,
"b": 143
},
"hsl": {
"h": 258.814,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.35422,
"c": 0.17527,
"h": 288
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#3E198F
secondary
#99BF44
accent
#ED3BB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980