#6A2AB5#6A2AB5
#6A2AB5 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.203 H 298.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2AB5 |
|---|---|
| RGB | rgb(106, 42, 181) |
| HSL | hsl(268, 62%, 44%) |
| HSV | hsv(268, 77%, 71%) |
| CMYK | cmyk(41.4%, 76.8%, 0%, 29%) |
| CIE-LAB | lab(34.10, 54.92, -62.01) |
| CIE-LCH | lch(34.10, 82.83, 311.53°) |
| OKLab | oklab(45.68% 0.0978 -0.1773) |
| OKLCH | oklch(45.68% 0.203 298.9) |
| XYZ | xyz(15.1102, 8.0561, 44.4660) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.27
Rebeccapurple
#663399
ΔE00 4.64
Blurple
#5539CC
ΔE00 5.69
Violet Blue
#510AC9
ΔE00 5.80
Bluey Purple
#6241C7
ΔE00 5.84
Blue With A Hint Of Purple
#533CC6
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2AB5 #75B52A
analogous
#2A2FB5 #6A2AB5 #AF2AB5
triadic
#6A2AB5 #B56A2A #2AB56A
tetradic
#6A2AB5 #B52A2F #75B52A #2AB5AF
square
#6A2AB5 #B52A2F #75B52A #2AB5AF
split-complementary
#6A2AB5 #B5AF2A #2FB52A
monochromatic
#301352 #4D1E83 #6A2AB5 #8948D4 #A979E0
Accessibility & contrast
On white
8.04
#6A2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#6A2AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2AB5
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2AB5 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#584F6E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2ab5; /* rgb */ color: rgb(106, 42, 181); /* oklch */ color: oklch(45.7% 0.203 298.9);
Tailwind
colors: {
custom: {
50: '#9c6bcc',
500: '#6a2ab5',
950: '#000000',
},
}SCSS
$custom: #6a2ab5; $custom-light: #9c6bcc; $custom-dark: #000000;
JSON
{
"hex": "#6a2ab5",
"rgb": {
"r": 106,
"g": 42,
"b": 181
},
"hsl": {
"h": 267.626,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.45677,
"c": 0.2025,
"h": 298.9
},
"luminance": 0.08056
}Semantic roles & 50–950 ramp
primary
#6A2AB5
secondary
#A1C873
accent
#E5429A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82