#4A29B2#4A29B2
#4A29B2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.200 H 284.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4A29B2 |
|---|---|
| RGB | rgb(74, 41, 178) |
| HSL | hsl(254, 63%, 43%) |
| HSV | hsv(254, 77%, 70%) |
| CMYK | cmyk(58.4%, 77%, 0%, 30.2%) |
| CIE-LAB | lab(30.05, 49.89, -67.00) |
| CIE-LCH | lch(30.05, 83.54, 306.67°) |
| OKLab | oklab(41.93% 0.0513 -0.193) |
| OKLCH | oklch(41.93% 0.2 284.9) |
| XYZ | xyz(11.6504, 6.2554, 42.7043) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Violet Blue
#510AC9
ΔE00 4.33
Purple Blue
#5D21D0
ΔE00 4.70
Blue With A Hint Of Purple
#533CC6
ΔE00 5.32
Blurple
#5539CC
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A29B2 #91B229
analogous
#294CB2 #4A29B2 #8F29B2
triadic
#4A29B2 #B24A29 #29B24A
tetradic
#4A29B2 #B2294C #91B229 #29B28F
square
#4A29B2 #B2294C #91B229 #29B28F
split-complementary
#4A29B2 #B28F29 #4CB229
monochromatic
#21124F #351E80 #4A29B2 #6744D4 #8F76DF
Accessibility & contrast
On white
9.33
#4A29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#4A29B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A29B2
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A29B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A29B2 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#0F506C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4a29b2; /* rgb */ color: rgb(74, 41, 178); /* oklch */ color: oklch(41.9% 0.200 284.9);
Tailwind
colors: {
custom: {
50: '#8967ca',
500: '#4a29b2',
950: '#000000',
},
}SCSS
$custom: #4a29b2; $custom-light: #8967ca; $custom-dark: #000000;
JSON
{
"hex": "#4a29b2",
"rgb": {
"r": 74,
"g": 41,
"b": 178
},
"hsl": {
"h": 254.453,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.41929,
"c": 0.19974,
"h": 284.9
},
"luminance": 0.06256
}Semantic roles & 50–950 ramp
primary
#4A29B2
secondary
#B2C770
accent
#E642BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82