#4D276F#4D276F
#4D276F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.122 H 305.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4D276F |
|---|---|
| RGB | rgb(77, 39, 111) |
| HSL | hsl(272, 48%, 29%) |
| HSV | hsv(272, 65%, 44%) |
| CMYK | cmyk(30.6%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(24.25, 32.60, -35.02) |
| CIE-LCH | lch(24.25, 47.84, 312.95°) |
| OKLab | oklab(36.1% 0.0705 -0.0991) |
| OKLCH | oklch(36.1% 0.122 305.4) |
| XYZ | xyz(6.6547, 4.1766, 15.4914) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.55
Indigo
#4B0082
ΔE00 7.51
Rebeccapurple
#663399
ΔE00 8.02
Darkslateblue
#483D8B
ΔE00 8.29
Plum Purple
#4E0550
ΔE00 8.54
Indigo (survey)
#380282
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D276F #496F27
analogous
#29276F #4D276F #6F276D
triadic
#4D276F #6F4D27 #276F4D
tetradic
#4D276F #6F2927 #496F27 #276D6F
square
#4D276F #6F2927 #496F27 #276D6F
split-complementary
#4D276F #6D6F27 #276F29
monochromatic
#100817 #2E1742 #4D276F #6C379C #8B4FC1
Accessibility & contrast
On white
11.44
#4D276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#4D276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D276F
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D276F | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#173A6D
Tritanopia (blue-blind)
#473647
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4d276f; /* rgb */ color: rgb(77, 39, 111); /* oklch */ color: oklch(36.1% 0.122 305.4);
Tailwind
colors: {
custom: {
50: '#826399',
500: '#4d276f',
950: '#000000',
},
}SCSS
$custom: #4d276f; $custom-light: #826399; $custom-dark: #000000;
JSON
{
"hex": "#4d276f",
"rgb": {
"r": 77,
"g": 39,
"b": 111
},
"hsl": {
"h": 271.667,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.36099,
"c": 0.12157,
"h": 305.4
},
"luminance": 0.04177
}Semantic roles & 50–950 ramp
primary
#4D276F
secondary
#77A250
accent
#D85090
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E