#6A2AA9#6A2AA9
#6A2AA9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.190 H 302.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2AA9 |
|---|---|
| RGB | rgb(106, 42, 169) |
| HSL | hsl(270, 60%, 41%) |
| HSV | hsv(270, 75%, 66%) |
| CMYK | cmyk(37.3%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(33.10, 51.98, -56.47) |
| CIE-LCH | lch(33.10, 76.75, 312.63°) |
| OKLab | oklab(44.67% 0.1007 -0.1611) |
| OKLCH | oklch(44.67% 0.19 302) |
| XYZ | xyz(13.9315, 7.5846, 38.2584) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.12
Purple (survey)
#7E1E9C
ΔE00 5.00
Purple Blue
#5D21D0
ΔE00 5.91
Violet Blue
#510AC9
ΔE00 6.83
Bluey Purple
#6241C7
ΔE00 7.08
Blurple
#5539CC
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2AA9 #69A92A
analogous
#2A2AA9 #6A2AA9 #A92AA9
triadic
#6A2AA9 #A96A2A #2AA96A
tetradic
#6A2AA9 #A92A2A #69A92A #2AA9A9
square
#6A2AA9 #A92A2A #69A92A #2AA9A9
split-complementary
#6A2AA9 #A9A92A #2AA92A
monochromatic
#2D1247 #4B1E78 #6A2AA9 #8941D0 #A772DC
Accessibility & contrast
On white
8.34
#6A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#6A2AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2AA9
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2AA9 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#5D4A68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6a2aa9; /* rgb */ color: rgb(106, 42, 169); /* oklch */ color: oklch(44.7% 0.190 302.0);
Tailwind
colors: {
custom: {
50: '#9a6ac3',
500: '#6a2aa9',
950: '#000000',
},
}SCSS
$custom: #6a2aa9; $custom-light: #9a6ac3; $custom-dark: #000000;
JSON
{
"hex": "#6a2aa9",
"rgb": {
"r": 106,
"g": 42,
"b": 169
},
"hsl": {
"h": 270.236,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.44667,
"c": 0.18998,
"h": 302
},
"luminance": 0.07585
}Semantic roles & 50–950 ramp
primary
#6A2AA9
secondary
#97C36C
accent
#E34493
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82