#4C276F#4C276F
#4C276F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.121 H 304.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4C276F |
|---|---|
| RGB | rgb(76, 39, 111) |
| HSL | hsl(271, 48%, 29%) |
| HSV | hsv(271, 65%, 44%) |
| CMYK | cmyk(31.5%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(24.11, 32.34, -35.24) |
| CIE-LCH | lch(24.11, 47.83, 312.55°) |
| OKLab | oklab(35.97% 0.069 -0.0997) |
| OKLCH | oklch(35.97% 0.121 304.7) |
| XYZ | xyz(6.5746, 4.1353, 15.4877) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.56
Indigo
#4B0082
ΔE00 7.48
Rebeccapurple
#663399
ΔE00 8.08
Darkslateblue
#483D8B
ΔE00 8.18
Plum Purple
#4E0550
ΔE00 8.66
Indigo (survey)
#380282
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C276F #4A6F27
analogous
#28276F #4C276F #6F276E
triadic
#4C276F #6F4C27 #276F4C
tetradic
#4C276F #6F2827 #4A6F27 #276E6F
square
#4C276F #6F2827 #4A6F27 #276E6F
split-complementary
#4C276F #6E6F27 #276F28
monochromatic
#100817 #2D1742 #4C276F #6B379C #8A4FC1
Accessibility & contrast
On white
11.49
#4C276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#4C276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C276F
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C276F | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#463647
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4c276f; /* rgb */ color: rgb(76, 39, 111); /* oklch */ color: oklch(36.0% 0.121 304.7);
Tailwind
colors: {
custom: {
50: '#816399',
500: '#4c276f',
950: '#000000',
},
}SCSS
$custom: #4c276f; $custom-light: #816399; $custom-dark: #000000;
JSON
{
"hex": "#4c276f",
"rgb": {
"r": 76,
"g": 39,
"b": 111
},
"hsl": {
"h": 270.833,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.35973,
"c": 0.12129,
"h": 304.7
},
"luminance": 0.04135
}Semantic roles & 50–950 ramp
primary
#4C276F
secondary
#78A250
accent
#D85092
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E