#4C26AB#4C26AB
#4C26AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.194 H 287.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4C26AB |
|---|---|
| RGB | rgb(76, 38, 171) |
| HSL | hsl(257, 64%, 41%) |
| HSV | hsv(257, 78%, 67%) |
| CMYK | cmyk(55.6%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(29.06, 49.59, -64.43) |
| CIE-LCH | lch(29.06, 81.30, 307.59°) |
| OKLab | oklab(41.08% 0.0584 -0.1854) |
| OKLCH | oklch(41.08% 0.194 287.5) |
| XYZ | xyz(11.0221, 5.8624, 39.0710) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.26
Violet Blue
#510AC9
ΔE00 4.57
Purple Blue
#5D21D0
ΔE00 5.38
Blue With A Hint Of Purple
#533CC6
ΔE00 6.35
Blurple
#5539CC
ΔE00 6.42
Rebeccapurple
#663399
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C26AB #85AB26
analogous
#2642AB #4C26AB #8E26AB
triadic
#4C26AB #AB4C26 #26AB4C
tetradic
#4C26AB #AB2642 #85AB26 #26AB8E
square
#4C26AB #AB2642 #85AB26 #26AB8E
split-complementary
#4C26AB #AB8E26 #42AB26
monochromatic
#1F1047 #361B79 #4C26AB #663BD3 #8D6DDF
Accessibility & contrast
On white
9.67
#4C26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4C26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C26AB
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C26AB | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#234C68
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4c26ab; /* rgb */ color: rgb(76, 38, 171); /* oklch */ color: oklch(41.1% 0.194 287.5);
Tailwind
colors: {
custom: {
50: '#8965c5',
500: '#4c26ab',
950: '#000000',
},
}SCSS
$custom: #4c26ab; $custom-light: #8965c5; $custom-dark: #000000;
JSON
{
"hex": "#4c26ab",
"rgb": {
"r": 76,
"g": 38,
"b": 171
},
"hsl": {
"h": 257.143,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.41081,
"c": 0.19439,
"h": 287.5
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#4C26AB
secondary
#AAC568
accent
#E741B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82