#3D1F93#3D1F93
#3D1F93 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.174 H 285.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1F93 |
|---|---|
| RGB | rgb(61, 31, 147) |
| HSL | hsl(256, 65%, 35%) |
| HSV | hsv(256, 79%, 58%) |
| CMYK | cmyk(58.5%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(23.93, 44.05, -58.31) |
| CIE-LCH | lch(23.93, 73.08, 307.07°) |
| OKLab | oklab(36.4% 0.0472 -0.1679) |
| OKLCH | oklch(36.4% 0.174 285.7) |
| XYZ | xyz(7.6793, 4.0782, 27.9806) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.24
Royal
#0C1793
ΔE00 4.73
Indigo (survey)
#380282
ΔE00 4.95
Indigo
#4B0082
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 5.61
Ultramarine
#2000B1
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1F93 #75931F
analogous
#1F3B93 #3D1F93 #771F93
triadic
#3D1F93 #933D1F #1F933D
tetradic
#3D1F93 #931F3B #75931F #1F9377
square
#3D1F93 #931F3B #75931F #1F9377
split-complementary
#3D1F93 #93771F #3B931F
monochromatic
#130A2E #281460 #3D1F93 #522AC6 #7552DA
Accessibility & contrast
On white
11.57
#3D1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3D1F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1F93
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1F93 | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#104158
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d1f93; /* rgb */ color: rgb(61, 31, 147); /* oklch */ color: oklch(36.4% 0.174 285.7);
Tailwind
colors: {
custom: {
50: '#7d5fb4',
500: '#3d1f93',
950: '#000000',
},
}SCSS
$custom: #3d1f93; $custom-light: #7d5fb4; $custom-dark: #000000;
JSON
{
"hex": "#3d1f93",
"rgb": {
"r": 61,
"g": 31,
"b": 147
},
"hsl": {
"h": 255.517,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36401,
"c": 0.17446,
"h": 285.7
},
"luminance": 0.04079
}Semantic roles & 50–950 ramp
primary
#3D1F93
secondary
#A1BE50
accent
#E840BD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980