#3D1F89#3D1F89
#3D1F89 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.163 H 288.0°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1F89 |
|---|---|
| RGB | rgb(61, 31, 137) |
| HSL | hsl(257, 63%, 33%) |
| HSV | hsv(257, 77%, 54%) |
| CMYK | cmyk(55.5%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(22.92, 41.09, -53.75) |
| CIE-LCH | lch(22.92, 67.66, 307.40°) |
| OKLab | oklab(35.39% 0.0501 -0.1546) |
| OKLCH | oklch(35.39% 0.163 288) |
| XYZ | xyz(6.9285, 3.7779, 24.0262) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.46
Indigo
#4B0082
ΔE00 5.06
Royal
#0C1793
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.75
Midnight Blue
#191970
ΔE00 6.07
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1F89 #6B891F
analogous
#1F3689 #3D1F89 #721F89
triadic
#3D1F89 #893D1F #1F893D
tetradic
#3D1F89 #891F36 #6B891F #1F8972
square
#3D1F89 #891F36 #6B891F #1F8972
split-complementary
#3D1F89 #89721F #36891F
monochromatic
#110825 #271457 #3D1F89 #532ABB #734CD6
Accessibility & contrast
On white
11.96
#3D1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3D1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1F89
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1F89 | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#1E3D53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3d1f89; /* rgb */ color: rgb(61, 31, 137); /* oklch */ color: oklch(35.4% 0.163 288.0);
Tailwind
colors: {
custom: {
50: '#7c5eac',
500: '#3d1f89',
950: '#000000',
},
}SCSS
$custom: #3d1f89; $custom-light: #7c5eac; $custom-dark: #000000;
JSON
{
"hex": "#3d1f89",
"rgb": {
"r": 61,
"g": 31,
"b": 137
},
"hsl": {
"h": 256.981,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.35394,
"c": 0.16252,
"h": 288
},
"luminance": 0.03778
}Semantic roles & 50–950 ramp
primary
#3D1F89
secondary
#9AB94B
accent
#E642B8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F