#4B26B2#4B26B2
#4B26B2 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.202 H 285.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4B26B2 |
|---|---|
| RGB | rgb(75, 38, 178) |
| HSL | hsl(256, 65%, 42%) |
| HSV | hsv(256, 79%, 70%) |
| CMYK | cmyk(57.9%, 78.7%, 0%, 30.2%) |
| CIE-LAB | lab(29.65, 51.44, -67.65) |
| CIE-LCH | lch(29.65, 84.99, 307.25°) |
| OKLab | oklab(41.68% 0.0548 -0.1949) |
| OKLCH | oklch(41.68% 0.202 285.7) |
| XYZ | xyz(11.6282, 6.0957, 42.6747) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.13
Violet Blue
#510AC9
ΔE00 3.91
Purple Blue
#5D21D0
ΔE00 4.61
Blurple
#5539CC
ΔE00 5.74
Blue With A Hint Of Purple
#533CC6
ΔE00 5.76
True Blue
#010FCC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B26B2 #8DB226
analogous
#2647B2 #4B26B2 #9126B2
triadic
#4B26B2 #B24B26 #26B24B
tetradic
#4B26B2 #B22647 #8DB226 #26B291
square
#4B26B2 #B22647 #8DB226 #26B291
split-complementary
#4B26B2 #B29126 #47B226
monochromatic
#20104D #361B80 #4B26B2 #673FD6 #8F72E1
Accessibility & contrast
On white
9.46
#4B26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4B26B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B26B2
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B26B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B26B2 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#154F6C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4b26b2; /* rgb */ color: rgb(75, 38, 178); /* oklch */ color: oklch(41.7% 0.202 285.7);
Tailwind
colors: {
custom: {
50: '#8a66ca',
500: '#4b26b2',
950: '#000000',
},
}SCSS
$custom: #4b26b2; $custom-light: #8a66ca; $custom-dark: #000000;
JSON
{
"hex": "#4b26b2",
"rgb": {
"r": 75,
"g": 38,
"b": 178
},
"hsl": {
"h": 255.857,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.41677,
"c": 0.20243,
"h": 285.7
},
"luminance": 0.06096
}Semantic roles & 50–950 ramp
primary
#4B26B2
secondary
#B0C86C
accent
#E840BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82