#3F1B95#3F1B95
#3F1B95 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.180 H 286.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1B95 |
|---|---|
| RGB | rgb(63, 27, 149) |
| HSL | hsl(258, 69%, 35%) |
| HSV | hsv(258, 82%, 58%) |
| CMYK | cmyk(57.7%, 81.9%, 0%, 41.6%) |
| CIE-LAB | lab(23.70, 46.74, -59.91) |
| CIE-LCH | lch(23.70, 75.99, 307.96°) |
| OKLab | oklab(36.36% 0.0524 -0.1725) |
| OKLCH | oklch(36.36% 0.18 286.9) |
| XYZ | xyz(7.8650, 4.0101, 28.7875) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 4.50
Royal
#0C1793
ΔE00 4.87
Indigo
#4B0082
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 5.26
Cobalt Blue
#030AA7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1B95 #71951B
analogous
#1B3495 #3F1B95 #7C1B95
triadic
#3F1B95 #953F1B #1B953F
tetradic
#3F1B95 #951B34 #71951B #1B957C
square
#3F1B95 #951B34 #71951B #1B957C
split-complementary
#3F1B95 #957C1B #34951B
monochromatic
#13082D #291261 #3F1B95 #5524C9 #774CDF
Accessibility & contrast
On white
11.65
#3F1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3F1B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1B95
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1B95 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#164059
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f1b95; /* rgb */ color: rgb(63, 27, 149); /* oklch */ color: oklch(36.4% 0.180 286.9);
Tailwind
colors: {
custom: {
50: '#7f5db5',
500: '#3f1b95',
950: '#000000',
},
}SCSS
$custom: #3f1b95; $custom-light: #7f5db5; $custom-dark: #000000;
JSON
{
"hex": "#3f1b95",
"rgb": {
"r": 63,
"g": 27,
"b": 149
},
"hsl": {
"h": 257.705,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.36359,
"c": 0.18029,
"h": 286.9
},
"luminance": 0.04011
}Semantic roles & 50–950 ramp
primary
#3F1B95
secondary
#9EC14B
accent
#EC3CB8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980