#4725AC#4725AC
#4725AC is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.197 H 285.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4725AC |
|---|---|
| RGB | rgb(71, 37, 172) |
| HSL | hsl(255, 65%, 41%) |
| HSV | hsv(255, 78%, 67%) |
| CMYK | cmyk(58.7%, 78.5%, 0%, 32.5%) |
| CIE-LAB | lab(28.49, 49.70, -65.99) |
| CIE-LCH | lch(28.49, 82.62, 306.99°) |
| OKLab | oklab(40.59% 0.0512 -0.1901) |
| OKLCH | oklch(40.59% 0.197 285.1) |
| XYZ | xyz(10.7042, 5.6406, 39.5464) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.66
Violet Blue
#510AC9
ΔE00 4.52
Purple Blue
#5D21D0
ΔE00 5.60
True Blue
#010FCC
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 5.95
Mediumblue
#0000CD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4725AC #8AAC25
analogous
#2546AC #4725AC #8A25AC
triadic
#4725AC #AC4725 #25AC47
tetradic
#4725AC #AC2546 #8AAC25 #25AC8A
square
#4725AC #AC2546 #8AAC25 #25AC8A
split-complementary
#4725AC #AC8A25 #46AC25
monochromatic
#1D0F47 #321A7A #4725AC #613AD5 #896CDF
Accessibility & contrast
On white
9.87
#4725AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4725AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4725AC
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4725AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4725AC | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#0D4C68
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4725ac; /* rgb */ color: rgb(71, 37, 172); /* oklch */ color: oklch(40.6% 0.197 285.1);
Tailwind
colors: {
custom: {
50: '#8664c6',
500: '#4725ac',
950: '#000000',
},
}SCSS
$custom: #4725ac; $custom-light: #8664c6; $custom-dark: #000000;
JSON
{
"hex": "#4725ac",
"rgb": {
"r": 71,
"g": 37,
"b": 172
},
"hsl": {
"h": 255.111,
"s": 64.593,
"l": 40.98
},
"oklch": {
"l": 0.40588,
"c": 0.1969,
"h": 285.1
},
"luminance": 0.05641
}Semantic roles & 50–950 ramp
primary
#4725AC
secondary
#AEC667
accent
#E840BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82