#3E218F#3E218F
#3E218F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.168 H 286.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3E218F |
|---|---|
| RGB | rgb(62, 33, 143) |
| HSL | hsl(256, 63%, 35%) |
| HSV | hsv(256, 77%, 56%) |
| CMYK | cmyk(56.6%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(23.98, 42.00, -55.74) |
| CIE-LCH | lch(23.98, 69.79, 307.00°) |
| OKLab | oklab(36.34% 0.0485 -0.1604) |
| OKLCH | oklch(36.34% 0.168 286.8) |
| XYZ | xyz(7.4869, 4.0946, 26.3771) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 5.08
Royal
#0C1793
ΔE00 5.09
Indigo
#4B0082
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E218F #728F21
analogous
#213B8F #3E218F #75218F
triadic
#3E218F #8F3E21 #218F3E
tetradic
#3E218F #8F213B #728F21 #218F75
square
#3E218F #8F213B #728F21 #218F75
split-complementary
#3E218F #8F7521 #3B8F21
monochromatic
#130A2C #28165D #3E218F #542CC1 #7653D7
Accessibility & contrast
On white
11.54
#3E218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3E218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E218F
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E218F | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#1A4057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e218f; /* rgb */ color: rgb(62, 33, 143); /* oklch */ color: oklch(36.3% 0.168 286.8);
Tailwind
colors: {
custom: {
50: '#7d60b1',
500: '#3e218f',
950: '#000000',
},
}SCSS
$custom: #3e218f; $custom-light: #7d60b1; $custom-dark: #000000;
JSON
{
"hex": "#3e218f",
"rgb": {
"r": 62,
"g": 33,
"b": 143
},
"hsl": {
"h": 255.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.36342,
"c": 0.16758,
"h": 286.8
},
"luminance": 0.04095
}Semantic roles & 50–950 ramp
primary
#3E218F
secondary
#9FBB51
accent
#E642BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980