#3D136F#3D136F
#3D136F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.145 H 298.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3D136F |
|---|---|
| RGB | rgb(61, 19, 111) |
| HSL | hsl(267, 71%, 25%) |
| HSV | hsv(267, 83%, 44%) |
| CMYK | cmyk(45%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(18.39, 39.44, -44.63) |
| CIE-LCH | lch(18.39, 59.56, 311.47°) |
| OKLab | oklab(31.45% 0.0679 -0.1278) |
| OKLCH | oklch(31.45% 0.145 298) |
| XYZ | xyz(5.0258, 2.6055, 15.2740) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.66
Indigo
#4B0082
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 4.17
Midnight Blue
#191970
ΔE00 6.13
Dark Indigo
#1F0954
ΔE00 6.18
Dark Royal Blue
#02066F
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D136F #456F13
analogous
#13176F #3D136F #6B136F
triadic
#3D136F #6F3D13 #136F3D
tetradic
#3D136F #6F1317 #456F13 #136F6B
square
#3D136F #6F1317 #456F13 #136F6B
split-complementary
#3D136F #6F6B13 #176F13
monochromatic
#0E041A #200A3B #3D136F #5A1CA3 #7625D8
Accessibility & contrast
On white
13.80
#3D136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3D136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D136F
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D136F | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#302D41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3d136f; /* rgb */ color: rgb(61, 19, 111); /* oklch */ color: oklch(31.4% 0.145 298.0);
Tailwind
colors: {
custom: {
50: '#785799',
500: '#3d136f',
950: '#000000',
},
}SCSS
$custom: #3d136f; $custom-light: #785799; $custom-dark: #000000;
JSON
{
"hex": "#3d136f",
"rgb": {
"r": 61,
"g": 19,
"b": 111
},
"hsl": {
"h": 267.391,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.31447,
"c": 0.14471,
"h": 298
},
"luminance": 0.02606
}Semantic roles & 50–950 ramp
primary
#3D136F
secondary
#74A638
accent
#EE3A9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E