#3D1E9D#3D1E9D
#3D1E9D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.187 H 283.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1E9D |
|---|---|
| RGB | rgb(61, 30, 157) |
| HSL | hsl(255, 68%, 37%) |
| HSV | hsv(255, 81%, 62%) |
| CMYK | cmyk(61.1%, 80.9%, 0%, 38.4%) |
| CIE-LAB | lab(24.81, 47.45, -63.00) |
| CIE-LCH | lch(24.81, 78.87, 306.98°) |
| OKLab | oklab(37.33% 0.0448 -0.1816) |
| OKLCH | oklch(37.33% 0.187 283.8) |
| XYZ | xyz(8.4727, 4.3544, 32.2858) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.78
Ultramarine
#2000B1
ΔE00 4.75
Royal
#0C1793
ΔE00 4.81
Cobalt Blue
#030AA7
ΔE00 4.94
Royal Blue (survey)
#0504AA
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1E9D #7E9D1E
analogous
#1E3F9D #3D1E9D #7D1E9D
triadic
#3D1E9D #9D3D1E #1E9D3D
tetradic
#3D1E9D #9D1E3F #7E9D1E #1E9D7D
square
#3D1E9D #9D1E3F #7E9D1E #1E9D7D
split-complementary
#3D1E9D #9D7D1E #3F9D1E
monochromatic
#150A36 #29146A #3D1E9D #5128D0 #7857DF
Accessibility & contrast
On white
11.22
#3D1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3D1E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1E9D
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1E9D | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3d1e9d; /* rgb */ color: rgb(61, 30, 157); /* oklch */ color: oklch(37.3% 0.187 283.8);
Tailwind
colors: {
custom: {
50: '#7f5fbb',
500: '#3d1e9d',
950: '#000000',
},
}SCSS
$custom: #3d1e9d; $custom-light: #7f5fbb; $custom-dark: #000000;
JSON
{
"hex": "#3d1e9d",
"rgb": {
"r": 61,
"g": 30,
"b": 157
},
"hsl": {
"h": 254.646,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.37327,
"c": 0.18707,
"h": 283.8
},
"luminance": 0.04355
}Semantic roles & 50–950 ramp
primary
#3D1E9D
secondary
#A8C254
accent
#EB3DC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981