#3D1D9C#3D1D9C
#3D1D9C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.187 H 284.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3D1D9C |
|---|---|
| RGB | rgb(61, 29, 156) |
| HSL | hsl(255, 69%, 36%) |
| HSV | hsv(255, 81%, 61%) |
| CMYK | cmyk(60.9%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(24.55, 47.62, -62.83) |
| CIE-LCH | lch(24.55, 78.83, 307.16°) |
| OKLab | oklab(37.11% 0.0457 -0.1811) |
| OKLCH | oklch(37.11% 0.187 284.2) |
| XYZ | xyz(8.3627, 4.2706, 31.8297) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.88
Ultramarine
#2000B1
ΔE00 4.70
Royal
#0C1793
ΔE00 4.74
Cobalt Blue
#030AA7
ΔE00 4.88
Royal Blue (survey)
#0504AA
ΔE00 5.12
Indigo (survey)
#380282
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D1D9C #7C9C1D
analogous
#1D3D9C #3D1D9C #7D1D9C
triadic
#3D1D9C #9C3D1D #1D9C3D
tetradic
#3D1D9C #9C1D3D #7C9C1D #1D9C7D
square
#3D1D9C #9C1D3D #7C9C1D #1D9C7D
split-complementary
#3D1D9C #9C7D1D #3D9C1D
monochromatic
#150A35 #291368 #3D1D9C #5127D0 #7754DF
Accessibility & contrast
On white
11.33
#3D1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3D1D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D1D9C
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D1D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D1D9C | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d1d9c; /* rgb */ color: rgb(61, 29, 156); /* oklch */ color: oklch(37.1% 0.187 284.2);
Tailwind
colors: {
custom: {
50: '#7f5eba',
500: '#3d1d9c',
950: '#000000',
},
}SCSS
$custom: #3d1d9c; $custom-light: #7f5eba; $custom-dark: #000000;
JSON
{
"hex": "#3d1d9c",
"rgb": {
"r": 61,
"g": 29,
"b": 156
},
"hsl": {
"h": 255.118,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.37113,
"c": 0.18678,
"h": 284.2
},
"luminance": 0.04271
}Semantic roles & 50–950 ramp
primary
#3D1D9C
secondary
#A6C252
accent
#EB3CBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981