#4D2E7A#4D2E7A
#4D2E7A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.125 H 299.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2E7A |
|---|---|
| RGB | rgb(77, 46, 122) |
| HSL | hsl(264, 45%, 33%) |
| HSV | hsv(264, 62%, 48%) |
| CMYK | cmyk(36.9%, 62.3%, 0%, 52.2%) |
| CIE-LAB | lab(26.55, 31.51, -38.32) |
| CIE-LCH | lch(26.55, 49.61, 309.43°) |
| OKLab | oklab(38.03% 0.0608 -0.1088) |
| OKLCH | oklch(38.03% 0.125 299.2) |
| XYZ | xyz(7.5496, 4.9368, 18.9637) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.67
Rebeccapurple
#663399
ΔE00 6.40
Blueberry
#464196
ΔE00 7.81
Indigo
#4B0082
ΔE00 8.09
Royal Purple (survey)
#4B006E
ΔE00 8.23
Indigo (survey)
#380282
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2E7A #5B7A2E
analogous
#2E357A #4D2E7A #732E7A
triadic
#4D2E7A #7A4D2E #2E7A4D
tetradic
#4D2E7A #7A2E35 #5B7A2E #2E7A73
square
#4D2E7A #7A2E35 #5B7A2E #2E7A73
split-complementary
#4D2E7A #7A732E #357A2E
monochromatic
#150C21 #311D4E #4D2E7A #693FA6 #8860C3
Accessibility & contrast
On white
10.57
#4D2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4D2E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2E7A
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2E7A | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#013F7C
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#433E4F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4d2e7a; /* rgb */ color: rgb(77, 46, 122); /* oklch */ color: oklch(38.0% 0.125 299.2);
Tailwind
colors: {
custom: {
50: '#8268a1',
500: '#4d2e7a',
950: '#000000',
},
}SCSS
$custom: #4d2e7a; $custom-light: #8268a1; $custom-dark: #000000;
JSON
{
"hex": "#4d2e7a",
"rgb": {
"r": 77,
"g": 46,
"b": 122
},
"hsl": {
"h": 264.474,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.38028,
"c": 0.1246,
"h": 299.2
},
"luminance": 0.04937
}Semantic roles & 50–950 ramp
primary
#4D2E7A
secondary
#89AA5A
accent
#D553A0
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F