#4D2D7E#4D2D7E
#4D2D7E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.131 H 298.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2D7E |
|---|---|
| RGB | rgb(77, 45, 126) |
| HSL | hsl(264, 47%, 34%) |
| HSV | hsv(264, 64%, 49%) |
| CMYK | cmyk(38.9%, 64.3%, 0%, 50.6%) |
| CIE-LAB | lab(26.62, 33.23, -40.74) |
| CIE-LCH | lch(26.62, 52.57, 309.20°) |
| OKLab | oklab(38.17% 0.0619 -0.1159) |
| OKLCH | oklch(38.17% 0.131 298.1) |
| XYZ | xyz(7.7639, 4.9608, 20.2831) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.51
Rebeccapurple
#663399
ΔE00 5.92
Blueberry
#464196
ΔE00 7.52
Indigo
#4B0082
ΔE00 7.54
Royal Purple (survey)
#4B006E
ΔE00 8.03
Indigo (survey)
#380282
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2D7E #5E7E2D
analogous
#2D357E #4D2D7E #752D7E
triadic
#4D2D7E #7E4D2D #2D7E4D
tetradic
#4D2D7E #7E2D35 #5E7E2D #2D7E75
square
#4D2D7E #7E2D35 #5E7E2D #2D7E75
split-complementary
#4D2D7E #7E752D #357E2D
monochromatic
#160D24 #311D51 #4D2D7E #693DAB #885FC6
Accessibility & contrast
On white
10.54
#4D2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4D2D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2D7E
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2D7E | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#423F51
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4d2d7e; /* rgb */ color: rgb(77, 45, 126); /* oklch */ color: oklch(38.2% 0.131 298.1);
Tailwind
colors: {
custom: {
50: '#8368a4',
500: '#4d2d7e',
950: '#000000',
},
}SCSS
$custom: #4d2d7e; $custom-light: #8368a4; $custom-dark: #000000;
JSON
{
"hex": "#4d2d7e",
"rgb": {
"r": 77,
"g": 45,
"b": 126
},
"hsl": {
"h": 263.704,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.38171,
"c": 0.13134,
"h": 298.1
},
"luminance": 0.04961
}Semantic roles & 50–950 ramp
primary
#4D2D7E
secondary
#8CAC5A
accent
#D751A2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F