#4D2D9F#4D2D9F
#4D2D9F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.173 H 289.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2D9F |
|---|---|
| RGB | rgb(77, 45, 159) |
| HSL | hsl(257, 56%, 40%) |
| HSV | hsv(257, 72%, 62%) |
| CMYK | cmyk(51.6%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(29.30, 42.76, -56.78) |
| CIE-LCH | lch(29.30, 71.08, 306.98°) |
| OKLab | oklab(40.94% 0.0572 -0.163) |
| OKLCH | oklch(40.94% 0.173 289.3) |
| XYZ | xyz(10.2552, 5.9573, 33.4037) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.10
Rebeccapurple
#663399
ΔE00 5.19
Darkslateblue
#483D8B
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 6.23
Blueberry
#464196
ΔE00 6.36
Blue With A Hint Of Purple
#533CC6
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2D9F #7F9F2D
analogous
#2D469F #4D2D9F #862D9F
triadic
#4D2D9F #9F4D2D #2D9F4D
tetradic
#4D2D9F #9F2D46 #7F9F2D #2D9F86
square
#4D2D9F #9F2D46 #7F9F2D #2D9F86
split-complementary
#4D2D9F #9F862D #469F2D
monochromatic
#1F1240 #36206F #4D2D9F #6740C9 #8D70D6
Accessibility & contrast
On white
9.58
#4D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4D2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2D9F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2D9F | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#304B63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4d2d9f; /* rgb */ color: rgb(77, 45, 159); /* oklch */ color: oklch(40.9% 0.173 289.3);
Tailwind
colors: {
custom: {
50: '#8769bc',
500: '#4d2d9f',
950: '#000000',
},
}SCSS
$custom: #4d2d9f; $custom-light: #8769bc; $custom-dark: #000000;
JSON
{
"hex": "#4d2d9f",
"rgb": {
"r": 77,
"g": 45,
"b": 159
},
"hsl": {
"h": 256.842,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.40937,
"c": 0.17276,
"h": 289.3
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#4D2D9F
secondary
#A6BE6A
accent
#DF49B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81