#6A26A2#6A26A2
#6A26A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.187 H 304.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6A26A2 |
|---|---|
| RGB | rgb(106, 38, 162) |
| HSL | hsl(273, 62%, 39%) |
| HSV | hsv(273, 77%, 64%) |
| CMYK | cmyk(34.6%, 76.5%, 0%, 36.5%) |
| CIE-LAB | lab(31.94, 52.01, -54.14) |
| CIE-LCH | lch(31.94, 75.07, 313.85°) |
| OKLab | oklab(43.67% 0.106 -0.1542) |
| OKLCH | oklch(43.67% 0.187 304.5) |
| XYZ | xyz(13.1571, 7.0591, 34.8448) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.94
Purple (survey)
#7E1E9C
ΔE00 4.26
Purple Blue
#5D21D0
ΔE00 6.91
Violet Blue
#510AC9
ΔE00 7.31
Indigo Blue
#3A18B1
ΔE00 8.10
Blurple
#5539CC
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A26A2 #5EA226
analogous
#2C26A2 #6A26A2 #A2269C
triadic
#6A26A2 #A26A26 #26A26A
tetradic
#6A26A2 #A22C26 #5EA226 #269CA2
square
#6A26A2 #A22C26 #5EA226 #269CA2
split-complementary
#6A26A2 #9CA226 #26A22C
monochromatic
#290F3F #4A1A70 #6A26A2 #8A35D0 #A767DB
Accessibility & contrast
On white
8.71
#6A26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6A26A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A26A2
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A26A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A26A2 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#5F4563
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6a26a2; /* rgb */ color: rgb(106, 38, 162); /* oklch */ color: oklch(43.7% 0.187 304.5);
Tailwind
colors: {
custom: {
50: '#9a68be',
500: '#6a26a2',
950: '#000000',
},
}SCSS
$custom: #6a26a2; $custom-light: #9a68be; $custom-dark: #000000;
JSON
{
"hex": "#6a26a2",
"rgb": {
"r": 106,
"g": 38,
"b": 162
},
"hsl": {
"h": 272.903,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.43674,
"c": 0.18712,
"h": 304.5
},
"luminance": 0.07059
}Semantic roles & 50–950 ramp
primary
#6A26A2
secondary
#8DC163
accent
#E5438C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81