#6A2FA9#6A2FA9
#6A2FA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.184 H 301.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FA9 |
|---|---|
| RGB | rgb(106, 47, 169) |
| HSL | hsl(269, 56%, 42%) |
| HSV | hsv(269, 72%, 66%) |
| CMYK | cmyk(37.3%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(33.90, 49.71, -55.17) |
| CIE-LCH | lch(33.90, 74.26, 312.02°) |
| OKLab | oklab(45.23% 0.0959 -0.1573) |
| OKLCH | oklch(45.23% 0.184 301.4) |
| XYZ | xyz(14.1201, 7.9617, 38.3213) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.71
Purple (survey)
#7E1E9C
ΔE00 5.32
Purple Blue
#5D21D0
ΔE00 6.13
Bluey Purple
#6241C7
ΔE00 6.47
Blue With A Hint Of Purple
#533CC6
ΔE00 6.77
Blurple
#5539CC
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FA9 #6EA92F
analogous
#2F31A9 #6A2FA9 #A72FA9
triadic
#6A2FA9 #A96A2F #2FA96A
tetradic
#6A2FA9 #A92F31 #6EA92F #2FA9A7
square
#6A2FA9 #A92F31 #6EA92F #2FA9A7
split-complementary
#6A2FA9 #A9A72F #31A92F
monochromatic
#2E1449 #4C2279 #6A2FA9 #8849CC #A879DA
Accessibility & contrast
On white
8.10
#6A2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6A2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FA9
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FA9 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#5C4D69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2fa9; /* rgb */ color: rgb(106, 47, 169); /* oklch */ color: oklch(45.2% 0.184 301.4);
Tailwind
colors: {
custom: {
50: '#9a6dc3',
500: '#6a2fa9',
950: '#000000',
},
}SCSS
$custom: #6a2fa9; $custom-light: #9a6dc3; $custom-dark: #000000;
JSON
{
"hex": "#6a2fa9",
"rgb": {
"r": 106,
"g": 47,
"b": 169
},
"hsl": {
"h": 269.016,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.45233,
"c": 0.18421,
"h": 301.4
},
"luminance": 0.07962
}Semantic roles & 50–950 ramp
primary
#6A2FA9
secondary
#9BC272
accent
#E04896
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82