#4A299B#4A299B
#4A299B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.173 H 289.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4A299B |
|---|---|
| RGB | rgb(74, 41, 155) |
| HSL | hsl(257, 58%, 38%) |
| HSV | hsv(257, 74%, 61%) |
| CMYK | cmyk(52.3%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(27.87, 43.22, -56.71) |
| CIE-LCH | lch(27.87, 71.30, 307.31°) |
| OKLab | oklab(39.73% 0.0572 -0.1629) |
| OKLCH | oklch(39.73% 0.173 289.3) |
| XYZ | xyz(9.5317, 5.4079, 31.5456) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.66
Rebeccapurple
#663399
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 6.54
Violet Blue
#510AC9
ΔE00 6.84
Blueberry
#464196
ΔE00 7.03
Indigo
#4B0082
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A299B #7A9B29
analogous
#29419B #4A299B #83299B
triadic
#4A299B #9B4A29 #299B4A
tetradic
#4A299B #9B2941 #7A9B29 #299B83
square
#4A299B #9B2941 #7A9B29 #299B83
split-complementary
#4A299B #9B8329 #419B29
monochromatic
#1C0F3A #331C6B #4A299B #6237CA #8867D7
Accessibility & contrast
On white
10.09
#4A299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4A299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A299B
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A299B | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#2C475F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4a299b; /* rgb */ color: rgb(74, 41, 155); /* oklch */ color: oklch(39.7% 0.173 289.3);
Tailwind
colors: {
custom: {
50: '#8566b9',
500: '#4a299b',
950: '#000000',
},
}SCSS
$custom: #4a299b; $custom-light: #8566b9; $custom-dark: #000000;
JSON
{
"hex": "#4a299b",
"rgb": {
"r": 74,
"g": 41,
"b": 155
},
"hsl": {
"h": 257.368,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.39731,
"c": 0.17264,
"h": 289.3
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#4A299B
secondary
#A3BD63
accent
#E146B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81