#4A2B9E#4A2B9E
#4A2B9E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.174 H 288.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2B9E |
|---|---|
| RGB | rgb(74, 43, 158) |
| HSL | hsl(256, 57%, 39%) |
| HSV | hsv(256, 73%, 62%) |
| CMYK | cmyk(53.2%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(28.52, 43.04, -57.47) |
| CIE-LCH | lch(28.52, 71.80, 306.83°) |
| OKLab | oklab(40.28% 0.0547 -0.1651) |
| OKLCH | oklch(40.28% 0.174 288.3) |
| XYZ | xyz(9.8577, 5.6518, 32.9126) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.65
Rebeccapurple
#663399
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.35
Blueberry
#464196
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 6.67
Violet Blue
#510AC9
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2B9E #7F9E2B
analogous
#2B469E #4A2B9E #842B9E
triadic
#4A2B9E #9E4A2B #2B9E4A
tetradic
#4A2B9E #9E2B46 #7F9E2B #2B9E84
square
#4A2B9E #9E2B46 #7F9E2B #2B9E84
split-complementary
#4A2B9E #9E842B #469E2B
monochromatic
#1D113E #331E6E #4A2B9E #623CCA #896CD7
Accessibility & contrast
On white
9.86
#4A2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4A2B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2B9E
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2B9E | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#2A4A62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4a2b9e; /* rgb */ color: rgb(74, 43, 158); /* oklch */ color: oklch(40.3% 0.174 288.3);
Tailwind
colors: {
custom: {
50: '#8567bc',
500: '#4a2b9e',
950: '#000000',
},
}SCSS
$custom: #4a2b9e; $custom-light: #8567bc; $custom-dark: #000000;
JSON
{
"hex": "#4a2b9e",
"rgb": {
"r": 74,
"g": 43,
"b": 158
},
"hsl": {
"h": 256.174,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.40275,
"c": 0.17399,
"h": 288.3
},
"luminance": 0.05652
}Semantic roles & 50–950 ramp
primary
#4A2B9E
secondary
#A6BE67
accent
#E047B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81