#3D1C9D#3D1C9D
#3D1C9D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.189 H 284.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1C9D |
|---|---|
| RGB | rgb(61, 28, 157) |
| HSL | hsl(255, 70%, 36%) |
| HSV | hsv(255, 82%, 62%) |
| CMYK | cmyk(61.1%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(24.50, 48.35, -63.51) |
| CIE-LCH | lch(24.50, 79.82, 307.28°) |
| OKLab | oklab(37.11% 0.0459 -0.1831) |
| OKLCH | oklch(37.11% 0.189 284.1) |
| XYZ | xyz(8.4237, 4.2564, 32.2694) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Ultramarine
#2000B1
ΔE00 4.51
Royal
#0C1793
ΔE00 4.75
Cobalt Blue
#030AA7
ΔE00 4.76
Royal Blue (survey)
#0504AA
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1C9D #7C9D1C
analogous
#1C3C9D #3D1C9D #7E1C9D
triadic
#3D1C9D #9D3D1C #1C9D3D
tetradic
#3D1C9D #9D1C3C #7C9D1C #1C9D7E
square
#3D1C9D #9D1C3C #7C9D1C #1C9D7E
split-complementary
#3D1C9D #9D7E1C #3C9D1C
monochromatic
#150935 #291369 #3D1C9D #5125D1 #7753E0
Accessibility & contrast
On white
11.34
#3D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3D1C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1C9D
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1C9D | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d1c9d; /* rgb */ color: rgb(61, 28, 157); /* oklch */ color: oklch(37.1% 0.189 284.1);
Tailwind
colors: {
custom: {
50: '#7f5ebb',
500: '#3d1c9d',
950: '#000000',
},
}SCSS
$custom: #3d1c9d; $custom-light: #7f5ebb; $custom-dark: #000000;
JSON
{
"hex": "#3d1c9d",
"rgb": {
"r": 61,
"g": 28,
"b": 157
},
"hsl": {
"h": 255.349,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.37114,
"c": 0.18877,
"h": 284.1
},
"luminance": 0.04257
}Semantic roles & 50–950 ramp
primary
#3D1C9D
secondary
#A6C351
accent
#ED3BBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981