#4A2599#4A2599
#4A2599 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.175 H 290.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2599 |
|---|---|
| RGB | rgb(74, 37, 153) |
| HSL | hsl(259, 61%, 37%) |
| HSV | hsv(259, 76%, 60%) |
| CMYK | cmyk(51.6%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(26.96, 44.69, -56.97) |
| CIE-LCH | lch(26.96, 72.41, 308.11°) |
| OKLab | oklab(39.03% 0.0611 -0.1636) |
| OKLCH | oklch(39.03% 0.175 290.5) |
| XYZ | xyz(9.2337, 5.0785, 30.6245) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.43
Rebeccapurple
#663399
ΔE00 5.98
Indigo
#4B0082
ΔE00 6.30
Indigo (survey)
#380282
ΔE00 6.70
Violet Blue
#510AC9
ΔE00 6.77
Royal
#0C1793
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2599 #749925
analogous
#253A99 #4A2599 #842599
triadic
#4A2599 #994A25 #25994A
tetradic
#4A2599 #99253A #749925 #259984
square
#4A2599 #99253A #749925 #259984
split-complementary
#4A2599 #998425 #3A9925
monochromatic
#1A0D36 #321968 #4A2599 #6231CA #8660D9
Accessibility & contrast
On white
10.42
#4A2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4A2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2599
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2599 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#2E455D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4a2599; /* rgb */ color: rgb(74, 37, 153); /* oklch */ color: oklch(39.0% 0.175 290.5);
Tailwind
colors: {
custom: {
50: '#8564b8',
500: '#4a2599',
950: '#000000',
},
}SCSS
$custom: #4a2599; $custom-light: #8564b8; $custom-dark: #000000;
JSON
{
"hex": "#4a2599",
"rgb": {
"r": 74,
"g": 37,
"b": 153
},
"hsl": {
"h": 259.138,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.39033,
"c": 0.17469,
"h": 290.5
},
"luminance": 0.05079
}Semantic roles & 50–950 ramp
primary
#4A2599
secondary
#9FBE5C
accent
#E444B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80