#3D117E#3D117E
#3D117E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.163 H 293.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3D117E |
|---|---|
| RGB | rgb(61, 17, 126) |
| HSL | hsl(264, 76%, 28%) |
| HSV | hsv(264, 87%, 49%) |
| CMYK | cmyk(51.6%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(19.64, 44.26, -52.22) |
| CIE-LCH | lch(19.64, 68.45, 310.28°) |
| OKLab | oklab(32.77% 0.0639 -0.15) |
| OKLCH | oklch(32.77% 0.163 293.1) |
| XYZ | xyz(5.8898, 2.8991, 19.9839) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.10
Indigo
#4B0082
ΔE00 2.88
Royal Purple (survey)
#4B006E
ΔE00 4.74
Midnight Blue
#191970
ΔE00 6.02
Royal
#0C1793
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D117E #527E11
analogous
#111B7E #3D117E #73117E
triadic
#3D117E #7E3D11 #117E3D
tetradic
#3D117E #7E111B #527E11 #117E73
square
#3D117E #7E111B #527E11 #117E73
split-complementary
#3D117E #7E7311 #1B7E11
monochromatic
#0D041B #230A48 #3D117E #5718B4 #7327E2
Accessibility & contrast
On white
13.29
#3D117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#3D117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D117E
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D117E | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#283249
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3d117e; /* rgb */ color: rgb(61, 17, 126); /* oklch */ color: oklch(32.8% 0.163 293.1);
Tailwind
colors: {
custom: {
50: '#7b57a4',
500: '#3d117e',
950: '#000000',
},
}SCSS
$custom: #3d117e; $custom-light: #7b57a4; $custom-dark: #000000;
JSON
{
"hex": "#3d117e",
"rgb": {
"r": 61,
"g": 17,
"b": 126
},
"hsl": {
"h": 264.22,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.3277,
"c": 0.16304,
"h": 293.1
},
"luminance": 0.02899
}Semantic roles & 50–950 ramp
primary
#3D117E
secondary
#81B437
accent
#F335A6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F