#4A2597#4A2597
#4A2597 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.172 H 290.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2597 |
|---|---|
| RGB | rgb(74, 37, 151) |
| HSL | hsl(259, 61%, 37%) |
| HSV | hsv(259, 75%, 59%) |
| CMYK | cmyk(51%, 75.5%, 0%, 40.8%) |
| CIE-LAB | lab(26.77, 44.12, -56.05) |
| CIE-LCH | lch(26.77, 71.34, 308.21°) |
| OKLab | oklab(38.85% 0.0616 -0.1609) |
| OKLCH | oklch(38.85% 0.172 290.9) |
| XYZ | xyz(9.0699, 5.0130, 29.7619) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.68
Rebeccapurple
#663399
ΔE00 5.94
Indigo
#4B0082
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.57
Royal
#0C1793
ΔE00 6.96
Violet Blue
#510AC9
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2597 #729725
analogous
#253997 #4A2597 #832597
triadic
#4A2597 #974A25 #25974A
tetradic
#4A2597 #972539 #729725 #259783
square
#4A2597 #972539 #729725 #259783
split-complementary
#4A2597 #978325 #399725
monochromatic
#1A0D35 #321966 #4A2597 #6231C8 #865FD8
Accessibility & contrast
On white
10.49
#4A2597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4A2597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2597
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2597 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#30445C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a2597; /* rgb */ color: rgb(74, 37, 151); /* oklch */ color: oklch(38.8% 0.172 290.9);
Tailwind
colors: {
custom: {
50: '#8564b7',
500: '#4a2597',
950: '#000000',
},
}SCSS
$custom: #4a2597; $custom-light: #8564b7; $custom-dark: #000000;
JSON
{
"hex": "#4a2597",
"rgb": {
"r": 74,
"g": 37,
"b": 151
},
"hsl": {
"h": 259.474,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.38845,
"c": 0.17234,
"h": 290.9
},
"luminance": 0.05013
}Semantic roles & 50–950 ramp
primary
#4A2597
secondary
#9DBD5B
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80