#4D2D8E#4D2D8E
#4D2D8E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.152 H 293.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2D8E |
|---|---|
| RGB | rgb(77, 45, 142) |
| HSL | hsl(260, 52%, 37%) |
| HSV | hsv(260, 68%, 56%) |
| CMYK | cmyk(45.8%, 68.3%, 0%, 44.3%) |
| CIE-LAB | lab(27.86, 37.81, -48.71) |
| CIE-LCH | lch(27.86, 61.66, 307.82°) |
| OKLab | oklab(39.46% 0.0602 -0.1393) |
| OKLCH | oklch(39.46% 0.152 293.4) |
| XYZ | xyz(8.8801, 5.4073, 26.1618) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.89
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 7.05
Indigo
#4B0082
ΔE00 7.29
Ocean Blue
#4F42B5
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2D8E #6E8E2D
analogous
#2D3E8E #4D2D8E #7E2D8E
triadic
#4D2D8E #8E4D2D #2D8E4D
tetradic
#4D2D8E #8E2D3E #6E8E2D #2D8E7E
square
#4D2D8E #8E2D3E #6E8E2D #2D8E7E
split-complementary
#4D2D8E #8E7E2D #3E8E2D
monochromatic
#1B1031 #341E60 #4D2D8E #663CBC #8967CF
Accessibility & contrast
On white
10.09
#4D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4D2D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2D8E
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2D8E | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#3A4459
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4d2d8e; /* rgb */ color: rgb(77, 45, 142); /* oklch */ color: oklch(39.5% 0.152 293.4);
Tailwind
colors: {
custom: {
50: '#8568b0',
500: '#4d2d8e',
950: '#000000',
},
}SCSS
$custom: #4d2d8e; $custom-light: #8568b0; $custom-dark: #000000;
JSON
{
"hex": "#4d2d8e",
"rgb": {
"r": 77,
"g": 45,
"b": 142
},
"hsl": {
"h": 259.794,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.3946,
"c": 0.15174,
"h": 293.4
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#4D2D8E
secondary
#9AB561
accent
#DB4CAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F