#3F218E#3F218E
#3F218E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.166 H 287.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3F218E |
|---|---|
| RGB | rgb(63, 33, 142) |
| HSL | hsl(257, 62%, 34%) |
| HSV | hsv(257, 77%, 56%) |
| CMYK | cmyk(55.6%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(23.99, 41.85, -55.10) |
| CIE-LCH | lch(23.99, 69.19, 307.21°) |
| OKLab | oklab(36.34% 0.0503 -0.1585) |
| OKLCH | oklch(36.34% 0.166 287.6) |
| XYZ | xyz(7.4748, 4.0971, 25.9829) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.04
Indigo Blue
#3A18B1
ΔE00 5.12
Royal
#0C1793
ΔE00 5.27
Indigo
#4B0082
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.46
Ultramarine
#2000B1
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F218E #708E21
analogous
#21398E #3F218E #76218E
triadic
#3F218E #8E3F21 #218E3F
tetradic
#3F218E #8E2139 #708E21 #218E76
square
#3F218E #8E2139 #708E21 #218E76
split-complementary
#3F218E #8E7621 #398E21
monochromatic
#130A2B #29155C #3F218E #552DC0 #7752D7
Accessibility & contrast
On white
11.54
#3F218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3F218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F218E
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F218E | 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)
#003C91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#1E3F56
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f218e; /* rgb */ color: rgb(63, 33, 142); /* oklch */ color: oklch(36.3% 0.166 287.6);
Tailwind
colors: {
custom: {
50: '#7d60b0',
500: '#3f218e',
950: '#000000',
},
}SCSS
$custom: #3f218e; $custom-light: #7d60b0; $custom-dark: #000000;
JSON
{
"hex": "#3f218e",
"rgb": {
"r": 63,
"g": 33,
"b": 142
},
"hsl": {
"h": 256.514,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.36343,
"c": 0.1663,
"h": 287.6
},
"luminance": 0.04097
}Semantic roles & 50–950 ramp
primary
#3F218E
secondary
#9DBA50
accent
#E542B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980