#6A2FA5#6A2FA5
#6A2FA5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.180 H 302.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FA5 |
|---|---|
| RGB | rgb(106, 47, 165) |
| HSL | hsl(270, 56%, 42%) |
| HSV | hsv(270, 72%, 65%) |
| CMYK | cmyk(35.8%, 71.5%, 0%, 35.3%) |
| CIE-LAB | lab(33.59, 48.72, -53.27) |
| CIE-LCH | lch(33.59, 72.19, 312.45°) |
| OKLab | oklab(44.92% 0.0966 -0.1517) |
| OKLCH | oklch(44.92% 0.18 302.5) |
| XYZ | xyz(13.7503, 7.8138, 36.3738) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.15
Purple (survey)
#7E1E9C
ΔE00 4.98
Purple Blue
#5D21D0
ΔE00 6.71
Bluey Purple
#6241C7
ΔE00 6.99
Blue With A Hint Of Purple
#533CC6
ΔE00 7.29
Blurple
#5539CC
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FA5 #6AA52F
analogous
#2F2FA5 #6A2FA5 #A52FA5
triadic
#6A2FA5 #A56A2F #2FA56A
tetradic
#6A2FA5 #A52F2F #6AA52F #2FA5A5
square
#6A2FA5 #A52F2F #6AA52F #2FA5A5
split-complementary
#6A2FA5 #A5A52F #2FA52F
monochromatic
#2D1446 #4B2175 #6A2FA5 #8947CB #A776D8
Accessibility & contrast
On white
8.19
#6A2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#6A2FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FA5
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FA5 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#5E4B67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6a2fa5; /* rgb */ color: rgb(106, 47, 165); /* oklch */ color: oklch(44.9% 0.180 302.5);
Tailwind
colors: {
custom: {
50: '#9a6dc0',
500: '#6a2fa5',
950: '#000000',
},
}SCSS
$custom: #6a2fa5; $custom-light: #9a6dc0; $custom-dark: #000000;
JSON
{
"hex": "#6a2fa5",
"rgb": {
"r": 106,
"g": 47,
"b": 165
},
"hsl": {
"h": 270,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.44915,
"c": 0.17986,
"h": 302.5
},
"luminance": 0.07814
}Semantic roles & 50–950 ramp
primary
#6A2FA5
secondary
#98C070
accent
#DF4994
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81