#6A2AAE#6A2AAE
#6A2AAE is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.195 H 300.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2AAE |
|---|---|
| RGB | rgb(106, 42, 174) |
| HSL | hsl(269, 61%, 42%) |
| HSV | hsv(269, 76%, 68%) |
| CMYK | cmyk(39.1%, 75.9%, 0%, 31.8%) |
| CIE-LAB | lab(33.51, 53.20, -58.80) |
| CIE-LCH | lch(33.51, 79.29, 312.14°) |
| OKLab | oklab(45.08% 0.0996 -0.1679) |
| OKLCH | oklch(45.08% 0.195 300.7) |
| XYZ | xyz(14.4099, 7.7760, 40.7779) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.73
Purple Blue
#5D21D0
ΔE00 5.20
Purple (survey)
#7E1E9C
ΔE00 5.49
Violet Blue
#510AC9
ΔE00 6.34
Blurple
#5539CC
ΔE00 6.50
Bluey Purple
#6241C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2AAE #6EAE2A
analogous
#2A2CAE #6A2AAE #AC2AAE
triadic
#6A2AAE #AE6A2A #2AAE6A
tetradic
#6A2AAE #AE2A2C #6EAE2A #2AAEAC
square
#6A2AAE #AE2A2C #6EAE2A #2AAEAC
split-complementary
#6A2AAE #AEAC2A #2CAE2A
monochromatic
#2E124B #4C1E7D #6A2AAE #8843D2 #A875DE
Accessibility & contrast
On white
8.22
#6A2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#6A2AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2AAE
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2AAE | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5B4C6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6a2aae; /* rgb */ color: rgb(106, 42, 174); /* oklch */ color: oklch(45.1% 0.195 300.7);
Tailwind
colors: {
custom: {
50: '#9b6ac7',
500: '#6a2aae',
950: '#000000',
},
}SCSS
$custom: #6a2aae; $custom-light: #9b6ac7; $custom-dark: #000000;
JSON
{
"hex": "#6a2aae",
"rgb": {
"r": 106,
"g": 42,
"b": 174
},
"hsl": {
"h": 269.091,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.45083,
"c": 0.1952,
"h": 300.7
},
"luminance": 0.07776
}Semantic roles & 50–950 ramp
primary
#6A2AAE
secondary
#9BC56F
accent
#E44496
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82