#6A2AAC#6A2AAC
#6A2AAC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.193 H 301.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2AAC |
|---|---|
| RGB | rgb(106, 42, 172) |
| HSL | hsl(270, 61%, 42%) |
| HSV | hsv(270, 76%, 67%) |
| CMYK | cmyk(38.4%, 75.6%, 0%, 32.5%) |
| CIE-LAB | lab(33.35, 52.71, -57.87) |
| CIE-LCH | lch(33.35, 78.28, 312.33°) |
| OKLab | oklab(44.92% 0.1 -0.1652) |
| OKLCH | oklch(44.92% 0.193 301.2) |
| XYZ | xyz(14.2164, 7.6986, 39.7587) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.48
Purple (survey)
#7E1E9C
ΔE00 5.29
Purple Blue
#5D21D0
ΔE00 5.48
Violet Blue
#510AC9
ΔE00 6.52
Bluey Purple
#6241C7
ΔE00 6.74
Blurple
#5539CC
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2AAC #6CAC2A
analogous
#2A2BAC #6A2AAC #AB2AAC
triadic
#6A2AAC #AC6A2A #2AAC6A
tetradic
#6A2AAC #AC2A2B #6CAC2A #2AACAB
square
#6A2AAC #AC2A2B #6CAC2A #2AACAB
split-complementary
#6A2AAC #ACAB2A #2BAC2A
monochromatic
#2D124A #4C1E7B #6A2AAC #8942D1 #A773DD
Accessibility & contrast
On white
8.27
#6A2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#6A2AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2AAC
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2AAC | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#5B4B69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6a2aac; /* rgb */ color: rgb(106, 42, 172); /* oklch */ color: oklch(44.9% 0.193 301.2);
Tailwind
colors: {
custom: {
50: '#9b6ac6',
500: '#6a2aac',
950: '#000000',
},
}SCSS
$custom: #6a2aac; $custom-light: #9b6ac6; $custom-dark: #000000;
JSON
{
"hex": "#6a2aac",
"rgb": {
"r": 106,
"g": 42,
"b": 172
},
"hsl": {
"h": 269.538,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.44916,
"c": 0.19312,
"h": 301.2
},
"luminance": 0.07699
}Semantic roles & 50–950 ramp
primary
#6A2AAC
secondary
#9AC46D
accent
#E44495
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82