#4725AE#4725AE
#4725AE is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.199 H 284.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4725AE |
|---|---|
| RGB | rgb(71, 37, 174) |
| HSL | hsl(255, 65%, 41%) |
| HSV | hsv(255, 79%, 68%) |
| CMYK | cmyk(59.2%, 78.7%, 0%, 31.8%) |
| CIE-LAB | lab(28.69, 50.28, -66.86) |
| CIE-LCH | lch(28.69, 83.65, 306.94°) |
| OKLab | oklab(40.79% 0.0506 -0.1927) |
| OKLCH | oklch(40.79% 0.199 284.7) |
| XYZ | xyz(10.8977, 5.7180, 40.5656) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.62
Violet Blue
#510AC9
ΔE00 4.32
Purple Blue
#5D21D0
ΔE00 5.37
True Blue
#010FCC
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 5.95
Mediumblue
#0000CD
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4725AE #8CAE25
analogous
#2547AE #4725AE #8C25AE
triadic
#4725AE #AE4725 #25AE47
tetradic
#4725AE #AE2547 #8CAE25 #25AE8C
square
#4725AE #AE2547 #8CAE25 #25AE8C
split-complementary
#4725AE #AE8C25 #47AE25
monochromatic
#1E1049 #321A7C #4725AE #613BD5 #8A6DE0
Accessibility & contrast
On white
9.80
#4725AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4725AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4725AE
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4725AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4725AE | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#074D69
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4725ae; /* rgb */ color: rgb(71, 37, 174); /* oklch */ color: oklch(40.8% 0.199 284.7);
Tailwind
colors: {
custom: {
50: '#8764c7',
500: '#4725ae',
950: '#000000',
},
}SCSS
$custom: #4725ae; $custom-light: #8764c7; $custom-dark: #000000;
JSON
{
"hex": "#4725ae",
"rgb": {
"r": 71,
"g": 37,
"b": 174
},
"hsl": {
"h": 254.891,
"s": 64.929,
"l": 41.373
},
"oklch": {
"l": 0.4079,
"c": 0.19919,
"h": 284.7
},
"luminance": 0.05719
}Semantic roles & 50–950 ramp
primary
#4725AE
secondary
#AFC668
accent
#E840BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82