#3F219B#3F219B
#3F219B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.182 H 284.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3F219B |
|---|---|
| RGB | rgb(63, 33, 155) |
| HSL | hsl(255, 65%, 37%) |
| HSV | hsv(255, 79%, 61%) |
| CMYK | cmyk(59.4%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(25.29, 45.69, -60.98) |
| CIE-LCH | lch(25.29, 76.19, 306.84°) |
| OKLab | oklab(37.65% 0.0466 -0.1757) |
| OKLCH | oklch(37.65% 0.182 284.8) |
| XYZ | xyz(8.5083, 4.5105, 31.4263) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.26
Royal
#0C1793
ΔE00 5.16
Ultramarine
#2000B1
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 5.55
Royal Blue (survey)
#0504AA
ΔE00 5.83
Indigo (survey)
#380282
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F219B #7D9B21
analogous
#21409B #3F219B #7C219B
triadic
#3F219B #9B3F21 #219B3F
tetradic
#3F219B #9B2140 #7D9B21 #219B7C
square
#3F219B #9B2140 #7D9B21 #219B7C
split-complementary
#3F219B #9B7C21 #409B21
monochromatic
#160C36 #2A1669 #3F219B #542CCD #7A5ADC
Accessibility & contrast
On white
11.04
#3F219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F219B
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F219B | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#09445D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f219b; /* rgb */ color: rgb(63, 33, 155); /* oklch */ color: oklch(37.6% 0.182 284.8);
Tailwind
colors: {
custom: {
50: '#8061ba',
500: '#3f219b',
950: '#000000',
},
}SCSS
$custom: #3f219b; $custom-light: #8061ba; $custom-dark: #000000;
JSON
{
"hex": "#3f219b",
"rgb": {
"r": 63,
"g": 33,
"b": 155
},
"hsl": {
"h": 254.754,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.37648,
"c": 0.18177,
"h": 284.8
},
"luminance": 0.04511
}Semantic roles & 50–950 ramp
primary
#3F219B
secondary
#A6C058
accent
#E840BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981