#3D277D#3D277D
#3D277D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.138 H 289.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3D277D |
|---|---|
| RGB | rgb(61, 39, 125) |
| HSL | hsl(255, 52%, 32%) |
| HSV | hsv(255, 69%, 49%) |
| CMYK | cmyk(51.2%, 68.8%, 0%, 51%) |
| CIE-LAB | lab(23.42, 32.99, -45.39) |
| CIE-LCH | lch(23.42, 56.11, 306.01°) |
| OKLab | oklab(35.41% 0.0452 -0.1301) |
| OKLCH | oklch(35.41% 0.138 289.2) |
| XYZ | xyz(6.3506, 3.9235, 19.8208) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.26
Indigo (survey)
#380282
ΔE00 6.64
Indigo
#4B0082
ΔE00 6.91
Royal
#0C1793
ΔE00 7.08
Blueberry
#464196
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D277D #677D27
analogous
#273C7D #3D277D #68277D
triadic
#3D277D #7D3D27 #277D3D
tetradic
#3D277D #7D273C #677D27 #277D68
square
#3D277D #7D273C #677D27 #277D68
split-complementary
#3D277D #7D6827 #3C7D27
monochromatic
#0F0A20 #26184E #3D277D #5436AC #7355CA
Accessibility & contrast
On white
11.77
#3D277D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3D277D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D277D
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D277D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D277D | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#273C4E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3d277d; /* rgb */ color: rgb(61, 39, 125); /* oklch */ color: oklch(35.4% 0.138 289.2);
Tailwind
colors: {
custom: {
50: '#7963a3',
500: '#3d277d',
950: '#000000',
},
}SCSS
$custom: #3d277d; $custom-light: #7963a3; $custom-dark: #000000;
JSON
{
"hex": "#3d277d",
"rgb": {
"r": 61,
"g": 39,
"b": 125
},
"hsl": {
"h": 255.349,
"s": 52.439,
"l": 32.157
},
"oklch": {
"l": 0.35405,
"c": 0.13775,
"h": 289.2
},
"luminance": 0.03924
}Semantic roles & 50–950 ramp
primary
#3D277D
secondary
#97AF51
accent
#DC4CB7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F