#3D1C7D#3D1C7D
#3D1C7D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.151 H 291.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C7D |
|---|---|
| RGB | rgb(61, 28, 125) |
| HSL | hsl(260, 63%, 30%) |
| HSV | hsv(260, 78%, 49%) |
| CMYK | cmyk(51.2%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(21.22, 39.11, -48.98) |
| CIE-LCH | lch(21.22, 62.68, 308.60°) |
| OKLab | oklab(33.84% 0.056 -0.1406) |
| OKLCH | oklch(33.84% 0.151 291.7) |
| XYZ | xyz(6.0403, 3.3030, 19.7173) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.01
Indigo
#4B0082
ΔE00 4.43
Midnight Blue
#191970
ΔE00 5.46
Royal Purple (survey)
#4B006E
ΔE00 5.78
Royal
#0C1793
ΔE00 6.20
Darkblue
#00008B
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C7D #5C7D1C
analogous
#1C2C7D #3D1C7D #6D1C7D
triadic
#3D1C7D #7D3D1C #1C7D3D
tetradic
#3D1C7D #7D1C2C #5C7D1C #1C7D6D
square
#3D1C7D #7D1C2C #5C7D1C #1C7D6D
split-complementary
#3D1C7D #7D6D1C #2C7D1C
monochromatic
#0C0619 #25114B #3D1C7D #5527AF #723FD4
Accessibility & contrast
On white
12.65
#3D1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#3D1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C7D
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C7D | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#28364B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3d1c7d; /* rgb */ color: rgb(61, 28, 125); /* oklch */ color: oklch(33.8% 0.151 291.7);
Tailwind
colors: {
custom: {
50: '#7a5ca4',
500: '#3d1c7d',
950: '#000000',
},
}SCSS
$custom: #3d1c7d; $custom-light: #7a5ca4; $custom-dark: #000000;
JSON
{
"hex": "#3d1c7d",
"rgb": {
"r": 61,
"g": 28,
"b": 125
},
"hsl": {
"h": 260.412,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.3384,
"c": 0.15134,
"h": 291.7
},
"luminance": 0.03303
}Semantic roles & 50–950 ramp
primary
#3D1C7D
secondary
#8CB144
accent
#E641AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F