#6E26A2#6E26A2
#6E26A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.188 H 306.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6E26A2 |
|---|---|
| RGB | rgb(110, 38, 162) |
| HSL | hsl(275, 62%, 39%) |
| HSV | hsv(275, 77%, 64%) |
| CMYK | cmyk(32.1%, 76.5%, 0%, 36.5%) |
| CIE-LAB | lab(32.50, 52.74, -53.21) |
| CIE-LCH | lch(32.50, 74.91, 314.75°) |
| OKLab | oklab(44.19% 0.1117 -0.1513) |
| OKLCH | oklch(44.19% 0.188 306.4) |
| XYZ | xyz(13.6437, 7.3100, 34.8676) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.04
Purple (survey)
#7E1E9C
ΔE00 3.55
Purple Blue
#5D21D0
ΔE00 7.26
Violet Blue
#510AC9
ΔE00 7.82
Darkmagenta
#8B008B
ΔE00 8.08
Darkviolet
#9400D3
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E26A2 #5AA226
analogous
#3026A2 #6E26A2 #A22698
triadic
#6E26A2 #A26E26 #26A26E
tetradic
#6E26A2 #A23026 #5AA226 #2698A2
square
#6E26A2 #A23026 #5AA226 #2698A2
split-complementary
#6E26A2 #98A226 #26A230
monochromatic
#2B0F3F #4C1A70 #6E26A2 #8F35D0 #AB67DB
Accessibility & contrast
On white
8.53
#6E26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#6E26A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E26A2
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E26A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E26A2 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#654563
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #6e26a2; /* rgb */ color: rgb(110, 38, 162); /* oklch */ color: oklch(44.2% 0.188 306.4);
Tailwind
colors: {
custom: {
50: '#9d68be',
500: '#6e26a2',
950: '#000000',
},
}SCSS
$custom: #6e26a2; $custom-light: #9d68be; $custom-dark: #000000;
JSON
{
"hex": "#6e26a2",
"rgb": {
"r": 110,
"g": 38,
"b": 162
},
"hsl": {
"h": 274.839,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.44188,
"c": 0.18806,
"h": 306.4
},
"luminance": 0.0731
}Semantic roles & 50–950 ramp
primary
#6E26A2
secondary
#8AC163
accent
#E54387
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81