#4D2D8F#4D2D8F
#4D2D8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.153 H 293.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2D8F |
|---|---|
| RGB | rgb(77, 45, 143) |
| HSL | hsl(260, 52%, 37%) |
| HSV | hsv(260, 69%, 56%) |
| CMYK | cmyk(46.2%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(27.95, 38.10, -49.19) |
| CIE-LCH | lch(27.95, 62.22, 307.75°) |
| OKLab | oklab(39.54% 0.06 -0.1407) |
| OKLCH | oklch(39.54% 0.153 293.1) |
| XYZ | xyz(8.9555, 5.4375, 26.5590) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.15
Blueberry
#464196
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 6.91
Indigo
#4B0082
ΔE00 7.31
Ocean Blue
#4F42B5
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2D8F #6F8F2D
analogous
#2D3E8F #4D2D8F #7E2D8F
triadic
#4D2D8F #8F4D2D #2D8F4D
tetradic
#4D2D8F #8F2D3E #6F8F2D #2D8F7E
square
#4D2D8F #8F2D3E #6F8F2D #2D8F7E
split-complementary
#4D2D8F #8F7E2D #3E8F2D
monochromatic
#1B1032 #341E60 #4D2D8F #663CBE #8967CF
Accessibility & contrast
On white
10.06
#4D2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#4D2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2D8F
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2D8F | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#3A455A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4d2d8f; /* rgb */ color: rgb(77, 45, 143); /* oklch */ color: oklch(39.5% 0.153 293.1);
Tailwind
colors: {
custom: {
50: '#8568b1',
500: '#4d2d8f',
950: '#000000',
},
}SCSS
$custom: #4d2d8f; $custom-light: #8568b1; $custom-dark: #000000;
JSON
{
"hex": "#4d2d8f",
"rgb": {
"r": 77,
"g": 45,
"b": 143
},
"hsl": {
"h": 259.592,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.39544,
"c": 0.153,
"h": 293.1
},
"luminance": 0.05438
}Semantic roles & 50–950 ramp
primary
#4D2D8F
secondary
#9AB662
accent
#DC4CAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80