#4725B3#4725B3
#4725B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.205 H 283.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4725B3 |
|---|---|
| RGB | rgb(71, 37, 179) |
| HSL | hsl(254, 66%, 42%) |
| HSV | hsv(254, 79%, 70%) |
| CMYK | cmyk(60.3%, 79.3%, 0%, 29.8%) |
| CIE-LAB | lab(29.20, 51.71, -69.01) |
| CIE-LCH | lch(29.20, 86.23, 306.84°) |
| OKLab | oklab(41.3% 0.049 -0.1989) |
| OKLCH | oklch(41.3% 0.205 283.8) |
| XYZ | xyz(11.3943, 5.9166, 43.1807) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.68
Violet Blue
#510AC9
ΔE00 3.85
Purple Blue
#5D21D0
ΔE00 4.81
True Blue
#010FCC
ΔE00 5.39
Ultramarine Blue
#1805DB
ΔE00 5.82
Blurple
#5539CC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4725B3 #91B325
analogous
#254AB3 #4725B3 #8E25B3
triadic
#4725B3 #B34725 #25B347
tetradic
#4725B3 #B3254A #91B325 #25B38E
square
#4725B3 #B3254A #91B325 #25B38E
split-complementary
#4725B3 #B38E25 #4AB325
monochromatic
#1F104E #331B80 #4725B3 #633ED7 #8C71E2
Accessibility & contrast
On white
9.62
#4725B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4725B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4725B3
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4725B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4725B3 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4725b3; /* rgb */ color: rgb(71, 37, 179); /* oklch */ color: oklch(41.3% 0.205 283.8);
Tailwind
colors: {
custom: {
50: '#8865cb',
500: '#4725b3',
950: '#000000',
},
}SCSS
$custom: #4725b3; $custom-light: #8865cb; $custom-dark: #000000;
JSON
{
"hex": "#4725b3",
"rgb": {
"r": 71,
"g": 37,
"b": 179
},
"hsl": {
"h": 254.366,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.41298,
"c": 0.20489,
"h": 283.8
},
"luminance": 0.05917
}Semantic roles & 50–950 ramp
primary
#4725B3
secondary
#B2C86B
accent
#E93FC0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82