#4D2F8D#4D2F8D
#4D2F8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.148 H 293.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2F8D |
|---|---|
| RGB | rgb(77, 47, 141) |
| HSL | hsl(259, 50%, 37%) |
| HSV | hsv(259, 67%, 55%) |
| CMYK | cmyk(45.4%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(28.20, 36.38, -47.54) |
| CIE-LCH | lch(28.20, 59.86, 307.42°) |
| OKLab | oklab(39.68% 0.0581 -0.1359) |
| OKLCH | oklch(39.68% 0.148 293.1) |
| XYZ | xyz(8.8835, 5.5336, 25.7942) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.60
Rebeccapurple
#663399
ΔE00 4.87
Blueberry
#464196
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 7.49
Indigo
#4B0082
ΔE00 7.77
Ocean Blue
#4F42B5
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2F8D #6F8D2F
analogous
#2F408D #4D2F8D #7C2F8D
triadic
#4D2F8D #8D4D2F #2F8D4D
tetradic
#4D2F8D #8D2F40 #6F8D2F #2F8D7C
square
#4D2F8D #8D2F40 #6F8D2F #2F8D7C
split-complementary
#4D2F8D #8D7C2F #408D2F
monochromatic
#1B1031 #34205F #4D2F8D #663EBB #8969CD
Accessibility & contrast
On white
9.97
#4D2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4D2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2F8D
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2F8D | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#3B4559
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d2f8d; /* rgb */ color: rgb(77, 47, 141); /* oklch */ color: oklch(39.7% 0.148 293.1);
Tailwind
colors: {
custom: {
50: '#8469af',
500: '#4d2f8d',
950: '#000000',
},
}SCSS
$custom: #4d2f8d; $custom-light: #8469af; $custom-dark: #000000;
JSON
{
"hex": "#4d2f8d",
"rgb": {
"r": 77,
"g": 47,
"b": 141
},
"hsl": {
"h": 259.149,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.39679,
"c": 0.14777,
"h": 293.1
},
"luminance": 0.05534
}Semantic roles & 50–950 ramp
primary
#4D2F8D
secondary
#9AB464
accent
#DA4EAD
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F