#3D137F#3D137F
#3D137F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.162 H 292.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3D137F |
|---|---|
| RGB | rgb(61, 19, 127) |
| HSL | hsl(263, 74%, 29%) |
| HSV | hsv(263, 85%, 50%) |
| CMYK | cmyk(52%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(20.00, 43.76, -52.25) |
| CIE-LCH | lch(20.00, 68.15, 309.94°) |
| OKLab | oklab(33.06% 0.0623 -0.1501) |
| OKLCH | oklch(33.06% 0.162 292.5) |
| XYZ | xyz(5.9870, 2.9899, 20.3362) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.32
Indigo
#4B0082
ΔE00 3.07
Royal Purple (survey)
#4B006E
ΔE00 4.99
Midnight Blue
#191970
ΔE00 5.93
Royal
#0C1793
ΔE00 5.95
Darkblue
#00008B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D137F #557F13
analogous
#131F7F #3D137F #73137F
triadic
#3D137F #7F3D13 #137F3D
tetradic
#3D137F #7F131F #557F13 #137F73
square
#3D137F #7F131F #557F13 #137F73
split-complementary
#3D137F #7F7313 #1F7F13
monochromatic
#0D041B #230B4A #3D137F #571BB4 #722DE0
Accessibility & contrast
On white
13.14
#3D137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3D137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D137F
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D137F | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#27344A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3d137f; /* rgb */ color: rgb(61, 19, 127); /* oklch */ color: oklch(33.1% 0.162 292.5);
Tailwind
colors: {
custom: {
50: '#7b58a5',
500: '#3d137f',
950: '#000000',
},
}SCSS
$custom: #3d137f; $custom-light: #7b58a5; $custom-dark: #000000;
JSON
{
"hex": "#3d137f",
"rgb": {
"r": 61,
"g": 19,
"b": 127
},
"hsl": {
"h": 263.333,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.33055,
"c": 0.16249,
"h": 292.5
},
"luminance": 0.0299
}Semantic roles & 50–950 ramp
primary
#3D137F
secondary
#85B439
accent
#F137A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F