#3F218F#3F218F
#3F218F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.168 H 287.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3F218F |
|---|---|
| RGB | rgb(63, 33, 143) |
| HSL | hsl(256, 63%, 35%) |
| HSV | hsv(256, 77%, 56%) |
| CMYK | cmyk(55.9%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(24.09, 42.15, -55.56) |
| CIE-LCH | lch(24.09, 69.74, 307.18°) |
| OKLab | oklab(36.44% 0.05 -0.1599) |
| OKLCH | oklch(36.44% 0.168 287.4) |
| XYZ | xyz(7.5502, 4.1272, 26.3801) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.09
Royal
#0C1793
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 6.37
Ultramarine
#2000B1
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F218F #718F21
analogous
#213A8F #3F218F #76218F
triadic
#3F218F #8F3F21 #218F3F
tetradic
#3F218F #8F213A #718F21 #218F76
square
#3F218F #8F213A #718F21 #218F76
split-complementary
#3F218F #8F7621 #3A8F21
monochromatic
#130A2C #29165D #3F218F #552CC1 #7753D7
Accessibility & contrast
On white
11.50
#3F218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3F218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F218F
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F218F | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#1D4057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f218f; /* rgb */ color: rgb(63, 33, 143); /* oklch */ color: oklch(36.4% 0.168 287.4);
Tailwind
colors: {
custom: {
50: '#7e60b1',
500: '#3f218f',
950: '#000000',
},
}SCSS
$custom: #3f218f; $custom-light: #7e60b1; $custom-dark: #000000;
JSON
{
"hex": "#3f218f",
"rgb": {
"r": 63,
"g": 33,
"b": 143
},
"hsl": {
"h": 256.364,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.36442,
"c": 0.16751,
"h": 287.4
},
"luminance": 0.04128
}Semantic roles & 50–950 ramp
primary
#3F218F
secondary
#9EBB51
accent
#E642B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980