#3D1895#3D1895
#3D1895 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.183 H 286.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1895 |
|---|---|
| RGB | rgb(61, 24, 149) |
| HSL | hsl(258, 72%, 34%) |
| HSV | hsv(258, 84%, 58%) |
| CMYK | cmyk(59.1%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(23.05, 47.79, -61.00) |
| CIE-LCH | lch(23.05, 77.49, 308.08°) |
| OKLab | oklab(35.85% 0.051 -0.1757) |
| OKLCH | oklch(35.85% 0.183 286.2) |
| XYZ | xyz(7.6743, 3.8148, 28.7599) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 4.09
Royal
#0C1793
ΔE00 4.56
Ultramarine
#2000B1
ΔE00 4.87
Indigo
#4B0082
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1895 #709518
analogous
#183295 #3D1895 #7C1895
triadic
#3D1895 #953D18 #18953D
tetradic
#3D1895 #951832 #709518 #18957C
square
#3D1895 #951832 #709518 #18957C
split-complementary
#3D1895 #957C18 #329518
monochromatic
#12072C #271060 #3D1895 #5320CA #7446E1
Accessibility & contrast
On white
11.91
#3D1895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3D1895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1895
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1895 | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#0D3F58
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3d1895; /* rgb */ color: rgb(61, 24, 149); /* oklch */ color: oklch(35.9% 0.183 286.2);
Tailwind
colors: {
custom: {
50: '#7e5bb5',
500: '#3d1895',
950: '#000000',
},
}SCSS
$custom: #3d1895; $custom-light: #7e5bb5; $custom-dark: #000000;
JSON
{
"hex": "#3d1895",
"rgb": {
"r": 61,
"g": 24,
"b": 149
},
"hsl": {
"h": 257.76,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.35855,
"c": 0.18295,
"h": 286.2
},
"luminance": 0.03815
}Semantic roles & 50–950 ramp
primary
#3D1895
secondary
#9EC246
accent
#EF39B9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980