#4A2B94#4A2B94
#4A2B94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.162 H 290.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2B94 |
|---|---|
| RGB | rgb(74, 43, 148) |
| HSL | hsl(258, 55%, 37%) |
| HSV | hsv(258, 71%, 58%) |
| CMYK | cmyk(50%, 70.9%, 0%, 42%) |
| CIE-LAB | lab(27.63, 40.10, -52.80) |
| CIE-LCH | lch(27.63, 66.30, 307.21°) |
| OKLab | oklab(39.37% 0.0568 -0.1514) |
| OKLCH | oklch(39.37% 0.162 290.5) |
| XYZ | xyz(9.0317, 5.3214, 28.5625) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 5.76
Blueberry
#464196
ΔE00 6.53
Indigo
#4B0082
ΔE00 7.15
Ocean Blue
#4F42B5
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2B94 #75942B
analogous
#2B4194 #4A2B94 #7E2B94
triadic
#4A2B94 #944A2B #2B944A
tetradic
#4A2B94 #942B41 #75942B #2B947E
square
#4A2B94 #942B41 #75942B #2B947E
split-complementary
#4A2B94 #947E2B #41942B
monochromatic
#1B0F35 #321D65 #4A2B94 #6239C3 #8767D3
Accessibility & contrast
On white
10.17
#4A2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4A2B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2B94
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2B94 | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#31465C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a2b94; /* rgb */ color: rgb(74, 43, 148); /* oklch */ color: oklch(39.4% 0.162 290.5);
Tailwind
colors: {
custom: {
50: '#8467b4',
500: '#4a2b94',
950: '#000000',
},
}SCSS
$custom: #4a2b94; $custom-light: #8467b4; $custom-dark: #000000;
JSON
{
"hex": "#4a2b94",
"rgb": {
"r": 74,
"g": 43,
"b": 148
},
"hsl": {
"h": 257.714,
"s": 54.974,
"l": 37.451
},
"oklch": {
"l": 0.39372,
"c": 0.16174,
"h": 290.5
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#4A2B94
secondary
#9FB962
accent
#DE49B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80