#6E26AB#6E26AB
#6E26AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.197 H 303.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6E26AB |
|---|---|
| RGB | rgb(110, 38, 171) |
| HSL | hsl(272, 64%, 41%) |
| HSV | hsv(272, 78%, 67%) |
| CMYK | cmyk(35.7%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(33.22, 54.82, -57.45) |
| CIE-LCH | lch(33.22, 79.41, 313.66°) |
| OKLab | oklab(44.92% 0.1096 -0.1638) |
| OKLCH | oklch(44.92% 0.197 303.8) |
| XYZ | xyz(14.4725, 7.6415, 39.2327) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.74
Purple (survey)
#7E1E9C
ΔE00 4.45
Purple Blue
#5D21D0
ΔE00 5.92
Violet Blue
#510AC9
ΔE00 6.79
Darkviolet
#9400D3
ΔE00 7.50
Bluey Purple
#6241C7
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E26AB #63AB26
analogous
#2B26AB #6E26AB #AB26A5
triadic
#6E26AB #AB6E26 #26AB6E
tetradic
#6E26AB #AB2B26 #63AB26 #26A5AB
square
#6E26AB #AB2B26 #63AB26 #26A5AB
split-complementary
#6E26AB #A5AB26 #26AB2B
monochromatic
#2E1047 #4E1B79 #6E26AB #8D3BD3 #AA6DDF
Accessibility & contrast
On white
8.31
#6E26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#6E26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E26AB
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E26AB | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#624968
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6e26ab; /* rgb */ color: rgb(110, 38, 171); /* oklch */ color: oklch(44.9% 0.197 303.8);
Tailwind
colors: {
custom: {
50: '#9d69c5',
500: '#6e26ab',
950: '#000000',
},
}SCSS
$custom: #6e26ab; $custom-light: #9d69c5; $custom-dark: #000000;
JSON
{
"hex": "#6e26ab",
"rgb": {
"r": 110,
"g": 38,
"b": 171
},
"hsl": {
"h": 272.481,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.4492,
"c": 0.19705,
"h": 303.8
},
"luminance": 0.07641
}Semantic roles & 50–950 ramp
primary
#6E26AB
secondary
#93C568
accent
#E7418D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82