#3D1E7D#3D1E7D
#3D1E7D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.149 H 291.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1E7D |
|---|---|
| RGB | rgb(61, 30, 125) |
| HSL | hsl(260, 61%, 30%) |
| HSV | hsv(260, 76%, 49%) |
| CMYK | cmyk(51.2%, 76%, 0%, 51%) |
| CIE-LAB | lab(21.58, 38.07, -48.38) |
| CIE-LCH | lch(21.58, 61.57, 308.20°) |
| OKLab | oklab(34.1% 0.0542 -0.1389) |
| OKLCH | oklch(34.1% 0.149 291.3) |
| XYZ | xyz(6.0894, 3.4011, 19.7337) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.44
Indigo
#4B0082
ΔE00 4.82
Midnight Blue
#191970
ΔE00 5.43
Royal Purple (survey)
#4B006E
ΔE00 6.10
Royal
#0C1793
ΔE00 6.28
Darkblue
#00008B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1E7D #5E7D1E
analogous
#1E2E7D #3D1E7D #6C1E7D
triadic
#3D1E7D #7D3D1E #1E7D3D
tetradic
#3D1E7D #7D1E2E #5E7D1E #1E7D6C
square
#3D1E7D #7D1E2E #5E7D1E #1E7D6C
split-complementary
#3D1E7D #7D6C1E #2E7D1E
monochromatic
#0D061A #25124C #3D1E7D #552AAE #7243D2
Accessibility & contrast
On white
12.50
#3D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3D1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1E7D
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1E7D | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#28374C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3d1e7d; /* rgb */ color: rgb(61, 30, 125); /* oklch */ color: oklch(34.1% 0.149 291.3);
Tailwind
colors: {
custom: {
50: '#7a5da4',
500: '#3d1e7d',
950: '#000000',
},
}SCSS
$custom: #3d1e7d; $custom-light: #7a5da4; $custom-dark: #000000;
JSON
{
"hex": "#3d1e7d",
"rgb": {
"r": 61,
"g": 30,
"b": 125
},
"hsl": {
"h": 259.579,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.34097,
"c": 0.14907,
"h": 291.3
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#3D1E7D
secondary
#8EB046
accent
#E443B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F