#3D147F#3D147F
#3D147F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.162 H 292.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3D147F |
|---|---|
| RGB | rgb(61, 20, 127) |
| HSL | hsl(263, 73%, 29%) |
| HSV | hsv(263, 84%, 50%) |
| CMYK | cmyk(52%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(20.14, 43.35, -52.02) |
| CIE-LCH | lch(20.14, 67.72, 309.81°) |
| OKLab | oklab(33.15% 0.0616 -0.1494) |
| OKLCH | oklch(33.15% 0.162 292.4) |
| XYZ | xyz(6.0043, 3.0245, 20.3420) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.47
Indigo
#4B0082
ΔE00 3.19
Royal Purple (survey)
#4B006E
ΔE00 5.06
Midnight Blue
#191970
ΔE00 5.87
Royal
#0C1793
ΔE00 5.93
Darkblue
#00008B
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D147F #567F14
analogous
#14207F #3D147F #73147F
triadic
#3D147F #7F3D14 #147F3D
tetradic
#3D147F #7F1420 #567F14 #147F73
square
#3D147F #7F1420 #567F14 #147F73
split-complementary
#3D147F #7F7314 #207F14
monochromatic
#0D041A #240C4A #3D147F #561CB4 #722FDE
Accessibility & contrast
On white
13.08
#3D147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#3D147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D147F
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D147F | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#27344B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3d147f; /* rgb */ color: rgb(61, 20, 127); /* oklch */ color: oklch(33.2% 0.162 292.4);
Tailwind
colors: {
custom: {
50: '#7b58a5',
500: '#3d147f',
950: '#000000',
},
}SCSS
$custom: #3d147f; $custom-light: #7b58a5; $custom-dark: #000000;
JSON
{
"hex": "#3d147f",
"rgb": {
"r": 61,
"g": 20,
"b": 127
},
"hsl": {
"h": 262.991,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.33151,
"c": 0.16163,
"h": 292.4
},
"luminance": 0.03025
}Semantic roles & 50–950 ramp
primary
#3D147F
secondary
#86B43B
accent
#EF38A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F