#3F219D#3F219D
#3F219D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.184 H 284.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3F219D |
|---|---|
| RGB | rgb(63, 33, 157) |
| HSL | hsl(255, 65%, 37%) |
| HSV | hsv(255, 79%, 62%) |
| CMYK | cmyk(59.9%, 79%, 0%, 38.4%) |
| CIE-LAB | lab(25.50, 46.27, -61.86) |
| CIE-LCH | lch(25.50, 77.26, 306.80°) |
| OKLab | oklab(37.85% 0.046 -0.1783) |
| OKLCH | oklch(37.85% 0.184 284.5) |
| XYZ | xyz(8.6777, 4.5782, 32.3182) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.00
Royal
#0C1793
ΔE00 5.22
Ultramarine
#2000B1
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 5.48
Royal Blue (survey)
#0504AA
ΔE00 5.74
Indigo (survey)
#380282
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F219D #7F9D21
analogous
#21419D #3F219D #7D219D
triadic
#3F219D #9D3F21 #219D3F
tetradic
#3F219D #9D2141 #7F9D21 #219D7D
square
#3F219D #9D2141 #7F9D21 #219D7D
split-complementary
#3F219D #9D7D21 #419D21
monochromatic
#160C38 #2B166A #3F219D #532CD0 #7B5CDD
Accessibility & contrast
On white
10.96
#3F219D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3F219D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F219D
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F219D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F219D | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#03455F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f219d; /* rgb */ color: rgb(63, 33, 157); /* oklch */ color: oklch(37.9% 0.184 284.5);
Tailwind
colors: {
custom: {
50: '#8061bb',
500: '#3f219d',
950: '#000000',
},
}SCSS
$custom: #3f219d; $custom-light: #8061bb; $custom-dark: #000000;
JSON
{
"hex": "#3f219d",
"rgb": {
"r": 63,
"g": 33,
"b": 157
},
"hsl": {
"h": 254.516,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.37854,
"c": 0.18411,
"h": 284.5
},
"luminance": 0.04579
}Semantic roles & 50–950 ramp
primary
#3F219D
secondary
#A8C159
accent
#E840BF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981