#3D1F91#3D1F91
#3D1F91 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 286.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1F91 |
|---|---|
| RGB | rgb(61, 31, 145) |
| HSL | hsl(256, 65%, 35%) |
| HSV | hsv(256, 79%, 57%) |
| CMYK | cmyk(57.9%, 78.6%, 0%, 43.1%) |
| CIE-LAB | lab(23.72, 43.46, -57.41) |
| CIE-LCH | lch(23.72, 72.01, 307.13°) |
| OKLab | oklab(36.2% 0.0478 -0.1653) |
| OKLCH | oklch(36.2% 0.172 286.1) |
| XYZ | xyz(7.5238, 4.0160, 27.1613) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.53
Royal
#0C1793
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 4.81
Indigo
#4B0082
ΔE00 5.47
Cobalt Blue
#030AA7
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1F91 #73911F
analogous
#1F3A91 #3D1F91 #761F91
triadic
#3D1F91 #913D1F #1F913D
tetradic
#3D1F91 #911F3A #73911F #1F9176
square
#3D1F91 #911F3A #73911F #1F9176
split-complementary
#3D1F91 #91761F #3A911F
monochromatic
#13092C #28145F #3D1F91 #522AC3 #7551DA
Accessibility & contrast
On white
11.65
#3D1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3D1F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1F91
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1F91 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#144057
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d1f91; /* rgb */ color: rgb(61, 31, 145); /* oklch */ color: oklch(36.2% 0.172 286.1);
Tailwind
colors: {
custom: {
50: '#7d5fb2',
500: '#3d1f91',
950: '#000000',
},
}SCSS
$custom: #3d1f91; $custom-light: #7d5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3d1f91",
"rgb": {
"r": 61,
"g": 31,
"b": 145
},
"hsl": {
"h": 255.789,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.36197,
"c": 0.17209,
"h": 286.1
},
"luminance": 0.04016
}Semantic roles & 50–950 ramp
primary
#3D1F91
secondary
#A0BD4F
accent
#E840BC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980