#4C26B9#4C26B9
#4C26B9 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.210 H 284.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4C26B9 |
|---|---|
| RGB | rgb(76, 38, 185) |
| HSL | hsl(256, 66%, 44%) |
| HSV | hsv(256, 79%, 73%) |
| CMYK | cmyk(58.9%, 79.5%, 0%, 27.5%) |
| CIE-LAB | lab(30.46, 53.52, -70.48) |
| CIE-LCH | lch(30.46, 88.50, 307.21°) |
| OKLab | oklab(42.47% 0.0542 -0.2031) |
| OKLCH | oklch(42.47% 0.21 284.9) |
| XYZ | xyz(12.4279, 6.4247, 46.4747) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 3.35
Indigo Blue
#3A18B1
ΔE00 3.49
Purple Blue
#5D21D0
ΔE00 3.75
Blurple
#5539CC
ΔE00 5.06
Blue With A Hint Of Purple
#533CC6
ΔE00 5.22
True Blue
#010FCC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C26B9 #93B926
analogous
#2649B9 #4C26B9 #9526B9
triadic
#4C26B9 #B94C26 #26B94C
tetradic
#4C26B9 #B92649 #93B926 #26B995
square
#4C26B9 #B92649 #93B926 #26B995
split-complementary
#4C26B9 #B99526 #49B926
monochromatic
#221153 #371C86 #4C26B9 #6A44D9 #9276E3
Accessibility & contrast
On white
9.19
#4C26B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4C26B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C26B9
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C26B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C26B9 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#085270
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4c26b9; /* rgb */ color: rgb(76, 38, 185); /* oklch */ color: oklch(42.5% 0.210 284.9);
Tailwind
colors: {
custom: {
50: '#8b66cf',
500: '#4c26b9',
950: '#000000',
},
}SCSS
$custom: #4c26b9; $custom-light: #8b66cf; $custom-dark: #000000;
JSON
{
"hex": "#4c26b9",
"rgb": {
"r": 76,
"g": 38,
"b": 185
},
"hsl": {
"h": 255.51,
"s": 65.919,
"l": 43.725
},
"oklch": {
"l": 0.42473,
"c": 0.2102,
"h": 284.9
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#4C26B9
secondary
#B3CA70
accent
#E93FBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82