#4C26B6#4C26B6
#4C26B6 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.207 H 285.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4C26B6 |
|---|---|
| RGB | rgb(76, 38, 182) |
| HSL | hsl(256, 65%, 43%) |
| HSV | hsv(256, 79%, 71%) |
| CMYK | cmyk(58.2%, 79.1%, 0%, 28.6%) |
| CIE-LAB | lab(30.16, 52.68, -69.20) |
| CIE-LCH | lch(30.16, 86.97, 307.28°) |
| OKLab | oklab(42.17% 0.0551 -0.1994) |
| OKLCH | oklch(42.17% 0.207 285.4) |
| XYZ | xyz(12.1145, 6.2994, 44.8244) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.34
Violet Blue
#510AC9
ΔE00 3.55
Purple Blue
#5D21D0
ΔE00 4.08
Blurple
#5539CC
ΔE00 5.33
Blue With A Hint Of Purple
#533CC6
ΔE00 5.43
True Blue
#010FCC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C26B6 #90B626
analogous
#2648B6 #4C26B6 #9426B6
triadic
#4C26B6 #B64C26 #26B64C
tetradic
#4C26B6 #B62648 #90B626 #26B694
square
#4C26B6 #B62648 #90B626 #26B694
split-complementary
#4C26B6 #B69426 #48B626
monochromatic
#221151 #371B83 #4C26B6 #6942D7 #9174E2
Accessibility & contrast
On white
9.29
#4C26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#4C26B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C26B6
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C26B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C26B6 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#11516E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4c26b6; /* rgb */ color: rgb(76, 38, 182); /* oklch */ color: oklch(42.2% 0.207 285.4);
Tailwind
colors: {
custom: {
50: '#8b66cd',
500: '#4c26b6',
950: '#000000',
},
}SCSS
$custom: #4c26b6; $custom-light: #8b66cd; $custom-dark: #000000;
JSON
{
"hex": "#4c26b6",
"rgb": {
"r": 76,
"g": 38,
"b": 182
},
"hsl": {
"h": 255.833,
"s": 65.455,
"l": 43.137
},
"oklch": {
"l": 0.42171,
"c": 0.20684,
"h": 285.4
},
"luminance": 0.063
}Semantic roles & 50–950 ramp
primary
#4C26B6
secondary
#B1C96E
accent
#E83FBC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82