#4A26B6#4A26B6
#4A26B6 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.207 H 284.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4A26B6 |
|---|---|
| RGB | rgb(74, 38, 182) |
| HSL | hsl(255, 65%, 43%) |
| HSV | hsv(255, 79%, 71%) |
| CMYK | cmyk(59.3%, 79.1%, 0%, 28.6%) |
| CIE-LAB | lab(29.96, 52.45, -69.54) |
| CIE-LCH | lch(29.96, 87.10, 307.03°) |
| OKLab | oklab(41.99% 0.0521 -0.2004) |
| OKLCH | oklch(41.99% 0.207 284.6) |
| XYZ | xyz(11.9581, 6.2187, 44.8171) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.17
Violet Blue
#510AC9
ΔE00 3.61
Purple Blue
#5D21D0
ΔE00 4.24
Blurple
#5539CC
ΔE00 5.40
Blue With A Hint Of Purple
#533CC6
ΔE00 5.49
True Blue
#010FCC
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A26B6 #92B626
analogous
#264AB6 #4A26B6 #9226B6
triadic
#4A26B6 #B64A26 #26B64A
tetradic
#4A26B6 #B6264A #92B626 #26B692
square
#4A26B6 #B6264A #92B626 #26B692
split-complementary
#4A26B6 #B69226 #4AB626
monochromatic
#211151 #351B83 #4A26B6 #6742D7 #9074E2
Accessibility & contrast
On white
9.36
#4A26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#4A26B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A26B6
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A26B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A26B6 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#03516E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4a26b6; /* rgb */ color: rgb(74, 38, 182); /* oklch */ color: oklch(42.0% 0.207 284.6);
Tailwind
colors: {
custom: {
50: '#8a66cd',
500: '#4a26b6',
950: '#000000',
},
}SCSS
$custom: #4a26b6; $custom-light: #8a66cd; $custom-dark: #000000;
JSON
{
"hex": "#4a26b6",
"rgb": {
"r": 74,
"g": 38,
"b": 182
},
"hsl": {
"h": 255,
"s": 65.455,
"l": 43.137
},
"oklch": {
"l": 0.41986,
"c": 0.20705,
"h": 284.6
},
"luminance": 0.06219
}Semantic roles & 50–950 ramp
primary
#4A26B6
secondary
#B3C96E
accent
#E83FBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82