#3F219C#3F219C
#3F219C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.183 H 284.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3F219C |
|---|---|
| RGB | rgb(63, 33, 156) |
| HSL | hsl(255, 65%, 37%) |
| HSV | hsv(255, 79%, 61%) |
| CMYK | cmyk(59.6%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(25.39, 45.98, -61.42) |
| CIE-LCH | lch(25.39, 76.73, 306.82°) |
| OKLab | oklab(37.75% 0.0463 -0.177) |
| OKLCH | oklch(37.75% 0.183 284.7) |
| XYZ | xyz(8.5927, 4.5442, 31.8704) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.13
Royal
#0C1793
ΔE00 5.18
Ultramarine
#2000B1
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 5.51
Royal Blue (survey)
#0504AA
ΔE00 5.78
Indigo (survey)
#380282
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F219C #7E9C21
analogous
#21419C #3F219C #7D219C
triadic
#3F219C #9C3F21 #219C3F
tetradic
#3F219C #9C2141 #7E9C21 #219C7D
square
#3F219C #9C2141 #7E9C21 #219C7D
split-complementary
#3F219C #9C7D21 #419C21
monochromatic
#160C37 #2B1669 #3F219C #532CCF #7B5BDC
Accessibility & contrast
On white
11.00
#3F219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3F219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F219C
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F219C | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#06455E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f219c; /* rgb */ color: rgb(63, 33, 156); /* oklch */ color: oklch(37.8% 0.183 284.7);
Tailwind
colors: {
custom: {
50: '#8061ba',
500: '#3f219c',
950: '#000000',
},
}SCSS
$custom: #3f219c; $custom-light: #8061ba; $custom-dark: #000000;
JSON
{
"hex": "#3f219c",
"rgb": {
"r": 63,
"g": 33,
"b": 156
},
"hsl": {
"h": 254.634,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.37751,
"c": 0.18294,
"h": 284.7
},
"luminance": 0.04545
}Semantic roles & 50–950 ramp
primary
#3F219C
secondary
#A7C158
accent
#E840BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981