#4729A2#4729A2
#4729A2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.181 H 286.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4729A2 |
|---|---|
| RGB | rgb(71, 41, 162) |
| HSL | hsl(255, 60%, 40%) |
| HSV | hsv(255, 75%, 64%) |
| CMYK | cmyk(56.2%, 74.7%, 0%, 36.5%) |
| CIE-LAB | lab(28.20, 44.81, -60.43) |
| CIE-LCH | lch(28.20, 75.23, 306.56°) |
| OKLab | oklab(40.09% 0.051 -0.1739) |
| OKLCH | oklch(40.09% 0.181 286.3) |
| XYZ | xyz(9.9111, 5.5336, 34.7212) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.81
Violet Blue
#510AC9
ΔE00 6.05
Rebeccapurple
#663399
ΔE00 6.41
Sapphire (survey)
#2138AB
ΔE00 6.65
Ocean Blue
#4F42B5
ΔE00 6.79
Ultramarine
#2000B1
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4729A2 #84A229
analogous
#2948A2 #4729A2 #8429A2
triadic
#4729A2 #A24729 #29A247
tetradic
#4729A2 #A22948 #84A229 #29A284
square
#4729A2 #A22948 #84A229 #29A284
split-complementary
#4729A2 #A28429 #48A229
monochromatic
#1C1040 #321D71 #4729A2 #5F3BCD #876CDA
Accessibility & contrast
On white
9.97
#4729A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4729A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4729A2
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4729A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4729A2 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#1E4A63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4729a2; /* rgb */ color: rgb(71, 41, 162); /* oklch */ color: oklch(40.1% 0.181 286.3);
Tailwind
colors: {
custom: {
50: '#8466bf',
500: '#4729a2',
950: '#000000',
},
}SCSS
$custom: #4729a2; $custom-light: #8466bf; $custom-dark: #000000;
JSON
{
"hex": "#4729a2",
"rgb": {
"r": 71,
"g": 41,
"b": 162
},
"hsl": {
"h": 254.876,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.40094,
"c": 0.18121,
"h": 286.3
},
"luminance": 0.05534
}Semantic roles & 50–950 ramp
primary
#4729A2
secondary
#AAC067
accent
#E345BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81