#4B25A6#4B25A6
#4B25A6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.190 H 288.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4B25A6 |
|---|---|
| RGB | rgb(75, 37, 166) |
| HSL | hsl(258, 64%, 40%) |
| HSV | hsv(258, 78%, 65%) |
| CMYK | cmyk(54.8%, 77.7%, 0%, 34.9%) |
| CIE-LAB | lab(28.30, 48.52, -62.67) |
| CIE-LCH | lch(28.30, 79.25, 307.75°) |
| OKLab | oklab(40.38% 0.0591 -0.1803) |
| OKLCH | oklch(40.38% 0.19 288.1) |
| XYZ | xyz(10.4441, 5.5716, 36.5941) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.27
Violet Blue
#510AC9
ΔE00 5.07
Purple Blue
#5D21D0
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.39
True Blue
#010FCC
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B25A6 #80A625
analogous
#2540A6 #4B25A6 #8B25A6
triadic
#4B25A6 #A64B25 #25A64B
tetradic
#4B25A6 #A62540 #80A625 #25A68B
square
#4B25A6 #A62540 #80A625 #25A68B
split-complementary
#4B25A6 #A68B25 #40A625
monochromatic
#1E0F42 #341A74 #4B25A6 #6436D2 #8B68DD
Accessibility & contrast
On white
9.93
#4B25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4B25A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B25A6
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B25A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B25A6 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#254A65
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4b25a6; /* rgb */ color: rgb(75, 37, 166); /* oklch */ color: oklch(40.4% 0.190 288.1);
Tailwind
colors: {
custom: {
50: '#8864c2',
500: '#4b25a6',
950: '#000000',
},
}SCSS
$custom: #4b25a6; $custom-light: #8864c2; $custom-dark: #000000;
JSON
{
"hex": "#4b25a6",
"rgb": {
"r": 75,
"g": 37,
"b": 166
},
"hsl": {
"h": 257.674,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.4038,
"c": 0.1897,
"h": 288.1
},
"luminance": 0.05572
}Semantic roles & 50–950 ramp
primary
#4B25A6
secondary
#A7C364
accent
#E741B6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81