#4F26B3#4F26B3
#4F26B3 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.203 H 287.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4F26B3 |
|---|---|
| RGB | rgb(79, 38, 179) |
| HSL | hsl(257, 65%, 43%) |
| HSV | hsv(257, 79%, 70%) |
| CMYK | cmyk(55.9%, 78.8%, 0%, 29.8%) |
| CIE-LAB | lab(30.16, 52.21, -67.39) |
| CIE-LCH | lch(30.16, 85.25, 307.77°) |
| OKLab | oklab(42.16% 0.0606 -0.194) |
| OKLCH | oklch(42.16% 0.203 287.3) |
| XYZ | xyz(12.0518, 6.3025, 43.2205) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.55
Violet Blue
#510AC9
ΔE00 3.74
Purple Blue
#5D21D0
ΔE00 4.22
Blurple
#5539CC
ΔE00 5.52
Blue With A Hint Of Purple
#533CC6
ΔE00 5.59
True Blue
#010FCC
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F26B3 #8AB326
analogous
#2643B3 #4F26B3 #9626B3
triadic
#4F26B3 #B34F26 #26B34F
tetradic
#4F26B3 #B32643 #8AB326 #26B396
square
#4F26B3 #B32643 #8AB326 #26B396
split-complementary
#4F26B3 #B39626 #43B326
monochromatic
#22114E #391B81 #4F26B3 #6C40D6 #9372E1
Accessibility & contrast
On white
9.29
#4F26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#4F26B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F26B3
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F26B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F26B3 | 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)
#004AB7
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#224F6C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4f26b3; /* rgb */ color: rgb(79, 38, 179); /* oklch */ color: oklch(42.2% 0.203 287.3);
Tailwind
colors: {
custom: {
50: '#8c66cb',
500: '#4f26b3',
950: '#000000',
},
}SCSS
$custom: #4f26b3; $custom-light: #8c66cb; $custom-dark: #000000;
JSON
{
"hex": "#4f26b3",
"rgb": {
"r": 79,
"g": 38,
"b": 179
},
"hsl": {
"h": 257.447,
"s": 64.977,
"l": 42.549
},
"oklch": {
"l": 0.42159,
"c": 0.20324,
"h": 287.3
},
"luminance": 0.06303
}Semantic roles & 50–950 ramp
primary
#4F26B3
secondary
#AEC86D
accent
#E840B7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82