#4A29AF#4A29AF
#4A29AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.196 H 285.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4A29AF |
|---|---|
| RGB | rgb(74, 41, 175) |
| HSL | hsl(255, 62%, 42%) |
| HSV | hsv(255, 77%, 69%) |
| CMYK | cmyk(57.7%, 76.6%, 0%, 31.4%) |
| CIE-LAB | lab(29.75, 49.02, -65.70) |
| CIE-LCH | lch(29.75, 81.97, 306.73°) |
| OKLab | oklab(41.63% 0.0521 -0.1892) |
| OKLCH | oklch(41.63% 0.196 285.4) |
| XYZ | xyz(11.3525, 6.1362, 41.1353) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.48
Violet Blue
#510AC9
ΔE00 4.58
Purple Blue
#5D21D0
ΔE00 5.05
Blue With A Hint Of Purple
#533CC6
ΔE00 5.57
Blurple
#5539CC
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A29AF #8EAF29
analogous
#294BAF #4A29AF #8D29AF
triadic
#4A29AF #AF4A29 #29AF4A
tetradic
#4A29AF #AF294B #8EAF29 #29AF8D
square
#4A29AF #AF294B #8EAF29 #29AF8D
split-complementary
#4A29AF #AF8D29 #4BAF29
monochromatic
#20124C #351D7D #4A29AF #6642D3 #8E74DE
Accessibility & contrast
On white
9.43
#4A29AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#4A29AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A29AF
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A29AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A29AF | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#154F6B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a29af; /* rgb */ color: rgb(74, 41, 175); /* oklch */ color: oklch(41.6% 0.196 285.4);
Tailwind
colors: {
custom: {
50: '#8867c8',
500: '#4a29af',
950: '#000000',
},
}SCSS
$custom: #4a29af; $custom-light: #8867c8; $custom-dark: #000000;
JSON
{
"hex": "#4a29af",
"rgb": {
"r": 74,
"g": 41,
"b": 175
},
"hsl": {
"h": 254.776,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.41634,
"c": 0.19626,
"h": 285.4
},
"luminance": 0.06137
}Semantic roles & 50–950 ramp
primary
#4A29AF
secondary
#B0C66E
accent
#E543BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82