#4A26BB#4A26BB
#4A26BB is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.213 H 283.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4A26BB |
|---|---|
| RGB | rgb(74, 38, 187) |
| HSL | hsl(254, 66%, 44%) |
| HSV | hsv(254, 80%, 73%) |
| CMYK | cmyk(60.4%, 79.7%, 0%, 26.7%) |
| CIE-LAB | lab(30.47, 53.86, -71.66) |
| CIE-LCH | lch(30.47, 89.64, 306.93°) |
| OKLab | oklab(42.5% 0.0505 -0.2066) |
| OKLCH | oklch(42.5% 0.213 283.7) |
| XYZ | xyz(12.4840, 6.4291, 47.5872) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 3.46
Purple Blue
#5D21D0
ΔE00 3.72
Blurple
#5539CC
ΔE00 4.98
Blue With A Hint Of Purple
#533CC6
ΔE00 5.16
True Blue
#010FCC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A26BB #97BB26
analogous
#264CBB #4A26BB #9526BB
triadic
#4A26BB #BB4A26 #26BB4A
tetradic
#4A26BB #BB264C #97BB26 #26BB95
square
#4A26BB #BB264C #97BB26 #26BB95
split-complementary
#4A26BB #BB9526 #4CBB26
monochromatic
#221155 #361C88 #4A26BB #6945D9 #9278E4
Accessibility & contrast
On white
9.19
#4A26BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4A26BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A26BB
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A26BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A26BB | 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)
#004CBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4a26bb; /* rgb */ color: rgb(74, 38, 187); /* oklch */ color: oklch(42.5% 0.213 283.7);
Tailwind
colors: {
custom: {
50: '#8b66d1',
500: '#4a26bb',
950: '#000000',
},
}SCSS
$custom: #4a26bb; $custom-light: #8b66d1; $custom-dark: #000000;
JSON
{
"hex": "#4a26bb",
"rgb": {
"r": 74,
"g": 38,
"b": 187
},
"hsl": {
"h": 254.497,
"s": 66.222,
"l": 44.118
},
"oklch": {
"l": 0.42495,
"c": 0.21267,
"h": 283.7
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#4A26BB
secondary
#B6CB72
accent
#E93FC0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83