#3F147D#3F147D
#3F147D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.159 H 294.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F147D |
|---|---|
| RGB | rgb(63, 20, 125) |
| HSL | hsl(265, 72%, 28%) |
| HSV | hsv(265, 84%, 49%) |
| CMYK | cmyk(49.6%, 84%, 0%, 51%) |
| CIE-LAB | lab(20.19, 43.09, -50.65) |
| CIE-LCH | lch(20.19, 66.50, 310.38°) |
| OKLab | oklab(33.18% 0.0656 -0.1454) |
| OKLCH | oklch(33.18% 0.159 294.3) |
| XYZ | xyz(6.0007, 3.0376, 19.6682) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.72
Indigo
#4B0082
ΔE00 2.98
Royal Purple (survey)
#4B006E
ΔE00 4.60
Midnight Blue
#191970
ΔE00 6.13
Royal
#0C1793
ΔE00 6.46
Darkblue
#00008B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F147D #527D14
analogous
#141E7D #3F147D #73147D
triadic
#3F147D #7D3F14 #147D3F
tetradic
#3F147D #7D141E #527D14 #147D73
square
#3F147D #7D141E #527D14 #147D73
split-complementary
#3F147D #7D7314 #1E7D14
monochromatic
#0D041A #240C48 #3F147D #5A1CB2 #762EDE
Accessibility & contrast
On white
13.06
#3F147D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3F147D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F147D
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F147D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F147D | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#2C3349
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3f147d; /* rgb */ color: rgb(63, 20, 125); /* oklch */ color: oklch(33.2% 0.159 294.3);
Tailwind
colors: {
custom: {
50: '#7c58a4',
500: '#3f147d',
950: '#000000',
},
}SCSS
$custom: #3f147d; $custom-light: #7c58a4; $custom-dark: #000000;
JSON
{
"hex": "#3f147d",
"rgb": {
"r": 63,
"g": 20,
"b": 125
},
"hsl": {
"h": 264.571,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.33182,
"c": 0.15949,
"h": 294.3
},
"luminance": 0.03038
}Semantic roles & 50–950 ramp
primary
#3F147D
secondary
#81B23A
accent
#EF39A4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F