#3D1F94#3D1F94
#3D1F94 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.176 H 285.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1F94 |
|---|---|
| RGB | rgb(61, 31, 148) |
| HSL | hsl(255, 65%, 35%) |
| HSV | hsv(255, 79%, 58%) |
| CMYK | cmyk(58.8%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(24.03, 44.34, -58.76) |
| CIE-LCH | lch(24.03, 73.62, 307.04°) |
| OKLab | oklab(36.5% 0.0469 -0.1693) |
| OKLCH | oklch(36.5% 0.176 285.5) |
| XYZ | xyz(7.7581, 4.1097, 28.3957) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Royal
#0C1793
ΔE00 4.72
Indigo (survey)
#380282
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.54
Ultramarine
#2000B1
ΔE00 5.65
Indigo
#4B0082
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1F94 #76941F
analogous
#1F3B94 #3D1F94 #781F94
triadic
#3D1F94 #943D1F #1F943D
tetradic
#3D1F94 #941F3B #76941F #1F9478
square
#3D1F94 #941F3B #76941F #1F9478
split-complementary
#3D1F94 #94781F #3B941F
monochromatic
#130A2F #281461 #3D1F94 #522AC7 #7553DB
Accessibility & contrast
On white
11.53
#3D1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3D1F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1F94
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1F94 | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#0F4159
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d1f94; /* rgb */ color: rgb(61, 31, 148); /* oklch */ color: oklch(36.5% 0.176 285.5);
Tailwind
colors: {
custom: {
50: '#7e5fb5',
500: '#3d1f94',
950: '#000000',
},
}SCSS
$custom: #3d1f94; $custom-light: #7e5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3d1f94",
"rgb": {
"r": 61,
"g": 31,
"b": 148
},
"hsl": {
"h": 255.385,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.36504,
"c": 0.17564,
"h": 285.5
},
"luminance": 0.0411
}Semantic roles & 50–950 ramp
primary
#3D1F94
secondary
#A2BE51
accent
#E83FBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980