#4C25B2#4C25B2
#4C25B2 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.203 H 286.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4C25B2 |
|---|---|
| RGB | rgb(76, 37, 178) |
| HSL | hsl(257, 66%, 42%) |
| HSV | hsv(257, 79%, 70%) |
| CMYK | cmyk(57.3%, 79.2%, 0%, 30.2%) |
| CIE-LAB | lab(29.60, 52.01, -67.74) |
| CIE-LCH | lch(29.60, 85.41, 307.52°) |
| OKLab | oklab(41.66% 0.057 -0.1951) |
| OKLCH | oklch(41.66% 0.203 286.3) |
| XYZ | xyz(11.6755, 6.0733, 42.6679) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.09
Violet Blue
#510AC9
ΔE00 3.77
Purple Blue
#5D21D0
ΔE00 4.55
Blurple
#5539CC
ΔE00 5.84
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
True Blue
#010FCC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C25B2 #8BB225
analogous
#2544B2 #4C25B2 #9325B2
triadic
#4C25B2 #B24C25 #25B24C
tetradic
#4C25B2 #B22544 #8BB225 #25B293
square
#4C25B2 #B22544 #8BB225 #25B293
split-complementary
#4C25B2 #B29325 #44B225
monochromatic
#21104D #361A7F #4C25B2 #683DD7 #8F70E1
Accessibility & contrast
On white
9.48
#4C25B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4C25B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C25B2
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C25B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C25B2 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#194F6B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4c25b2; /* rgb */ color: rgb(76, 37, 178); /* oklch */ color: oklch(41.7% 0.203 286.3);
Tailwind
colors: {
custom: {
50: '#8a65ca',
500: '#4c25b2',
950: '#000000',
},
}SCSS
$custom: #4c25b2; $custom-light: #8a65ca; $custom-dark: #000000;
JSON
{
"hex": "#4c25b2",
"rgb": {
"r": 76,
"g": 37,
"b": 178
},
"hsl": {
"h": 256.596,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.41662,
"c": 0.20324,
"h": 286.3
},
"luminance": 0.06074
}Semantic roles & 50–950 ramp
primary
#4C25B2
secondary
#AEC86B
accent
#E93FBA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82