#3F1F93#3F1F93
#3F1F93 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.174 H 286.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1F93 |
|---|---|
| RGB | rgb(63, 31, 147) |
| HSL | hsl(257, 65%, 35%) |
| HSV | hsv(257, 79%, 58%) |
| CMYK | cmyk(57.1%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(24.14, 44.32, -57.96) |
| CIE-LCH | lch(24.14, 72.96, 307.40°) |
| OKLab | oklab(36.6% 0.0504 -0.1668) |
| OKLCH | oklch(36.6% 0.174 286.8) |
| XYZ | xyz(7.8048, 4.1429, 27.9865) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.96
Royal
#0C1793
ΔE00 5.01
Indigo
#4B0082
ΔE00 5.44
Cobalt Blue
#030AA7
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1F93 #73931F
analogous
#1F3993 #3F1F93 #791F93
triadic
#3F1F93 #933F1F #1F933F
tetradic
#3F1F93 #931F39 #73931F #1F9379
square
#3F1F93 #931F39 #73931F #1F9379
split-complementary
#3F1F93 #93791F #39931F
monochromatic
#140A2E #291460 #3F1F93 #552AC6 #7852DA
Accessibility & contrast
On white
11.48
#3F1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3F1F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1F93
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1F93 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#184058
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f1f93; /* rgb */ color: rgb(63, 31, 147); /* oklch */ color: oklch(36.6% 0.174 286.8);
Tailwind
colors: {
custom: {
50: '#7e5fb4',
500: '#3f1f93',
950: '#000000',
},
}SCSS
$custom: #3f1f93; $custom-light: #7e5fb4; $custom-dark: #000000;
JSON
{
"hex": "#3f1f93",
"rgb": {
"r": 63,
"g": 31,
"b": 147
},
"hsl": {
"h": 256.552,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36598,
"c": 0.17428,
"h": 286.8
},
"luminance": 0.04143
}Semantic roles & 50–950 ramp
primary
#3F1F93
secondary
#9FBE50
accent
#E840BA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980