#4F25B3#4F25B3
#4F25B3 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.1% C 0.204 H 287.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4F25B3 |
|---|---|
| RGB | rgb(79, 37, 179) |
| HSL | hsl(258, 66%, 42%) |
| HSV | hsv(258, 79%, 70%) |
| CMYK | cmyk(55.9%, 79.3%, 0%, 29.8%) |
| CIE-LAB | lab(30.01, 52.66, -67.65) |
| CIE-LCH | lch(30.01, 85.73, 307.90°) |
| OKLab | oklab(42.05% 0.0613 -0.1947) |
| OKLCH | oklch(42.05% 0.204 287.5) |
| XYZ | xyz(12.0203, 6.2394, 43.2100) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.43
Violet Blue
#510AC9
ΔE00 3.63
Purple Blue
#5D21D0
ΔE00 4.23
Blurple
#5539CC
ΔE00 5.66
Blue With A Hint Of Purple
#533CC6
ΔE00 5.75
True Blue
#010FCC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F25B3 #89B325
analogous
#2542B3 #4F25B3 #9625B3
triadic
#4F25B3 #B34F25 #25B34F
tetradic
#4F25B3 #B32542 #89B325 #25B396
square
#4F25B3 #B32542 #89B325 #25B396
split-complementary
#4F25B3 #B39625 #42B325
monochromatic
#22104E #391B80 #4F25B3 #6B3ED7 #9271E2
Accessibility & contrast
On white
9.34
#4F25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#4F25B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F25B3
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F25B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F25B3 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#224F6C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4f25b3; /* rgb */ color: rgb(79, 37, 179); /* oklch */ color: oklch(42.1% 0.204 287.5);
Tailwind
colors: {
custom: {
50: '#8c65cb',
500: '#4f25b3',
950: '#000000',
},
}SCSS
$custom: #4f25b3; $custom-light: #8c65cb; $custom-dark: #000000;
JSON
{
"hex": "#4f25b3",
"rgb": {
"r": 79,
"g": 37,
"b": 179
},
"hsl": {
"h": 257.746,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.42052,
"c": 0.20413,
"h": 287.5
},
"luminance": 0.0624
}Semantic roles & 50–950 ramp
primary
#4F25B3
secondary
#ADC86B
accent
#E93FB7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82