#4A276F#4A276F
#4A276F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.7% C 0.121 H 303.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4A276F |
|---|---|
| RGB | rgb(74, 39, 111) |
| HSL | hsl(269, 48%, 29%) |
| HSV | hsv(269, 65%, 44%) |
| CMYK | cmyk(33.3%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(23.85, 31.83, -35.68) |
| CIE-LCH | lch(23.85, 47.81, 311.74°) |
| OKLab | oklab(35.72% 0.0661 -0.1011) |
| OKLCH | oklch(35.72% 0.121 303.2) |
| XYZ | xyz(6.4181, 4.0546, 15.4803) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.63
Indigo
#4B0082
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.97
Rebeccapurple
#663399
ΔE00 8.22
Indigo (survey)
#380282
ΔE00 8.62
Plum Purple
#4E0550
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A276F #4C6F27
analogous
#27286F #4A276F #6E276F
triadic
#4A276F #6F4A27 #276F4A
tetradic
#4A276F #6F2728 #4C6F27 #276F6E
square
#4A276F #6F2728 #4C6F27 #276F6E
split-complementary
#4A276F #6F6E27 #286F27
monochromatic
#0F0817 #2C1742 #4A276F #68379C #874FC1
Accessibility & contrast
On white
11.60
#4A276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#4A276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A276F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A276F | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#13396D
Tritanopia (blue-blind)
#433647
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4a276f; /* rgb */ color: rgb(74, 39, 111); /* oklch */ color: oklch(35.7% 0.121 303.2);
Tailwind
colors: {
custom: {
50: '#806399',
500: '#4a276f',
950: '#000000',
},
}SCSS
$custom: #4a276f; $custom-light: #806399; $custom-dark: #000000;
JSON
{
"hex": "#4a276f",
"rgb": {
"r": 74,
"g": 39,
"b": 111
},
"hsl": {
"h": 269.167,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.35724,
"c": 0.12077,
"h": 303.2
},
"luminance": 0.04055
}Semantic roles & 50–950 ramp
primary
#4A276F
secondary
#7AA250
accent
#D85096
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E