#6A2EA9#6A2EA9
#6A2EA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.185 H 301.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2EA9 |
|---|---|
| RGB | rgb(106, 46, 169) |
| HSL | hsl(269, 57%, 42%) |
| HSV | hsv(269, 73%, 66%) |
| CMYK | cmyk(37.3%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(33.74, 50.18, -55.44) |
| CIE-LCH | lch(33.74, 74.77, 312.15°) |
| OKLab | oklab(45.12% 0.0969 -0.1581) |
| OKLCH | oklch(45.12% 0.185 301.5) |
| XYZ | xyz(14.0806, 7.8827, 38.3081) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.78
Purple (survey)
#7E1E9C
ΔE00 5.24
Purple Blue
#5D21D0
ΔE00 6.07
Bluey Purple
#6241C7
ΔE00 6.59
Blue With A Hint Of Purple
#533CC6
ΔE00 6.86
Blurple
#5539CC
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2EA9 #6DA92E
analogous
#2E30A9 #6A2EA9 #A72EA9
triadic
#6A2EA9 #A96A2E #2EA96A
tetradic
#6A2EA9 #A92E30 #6DA92E #2EA9A7
square
#6A2EA9 #A92E30 #6DA92E #2EA9A7
split-complementary
#6A2EA9 #A9A72E #30A92E
monochromatic
#2E1449 #4C2179 #6A2EA9 #8847CD #A777DA
Accessibility & contrast
On white
8.15
#6A2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6A2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2EA9
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2EA9 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#5C4C69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6a2ea9; /* rgb */ color: rgb(106, 46, 169); /* oklch */ color: oklch(45.1% 0.185 301.5);
Tailwind
colors: {
custom: {
50: '#9a6cc3',
500: '#6a2ea9',
950: '#000000',
},
}SCSS
$custom: #6a2ea9; $custom-light: #9a6cc3; $custom-dark: #000000;
JSON
{
"hex": "#6a2ea9",
"rgb": {
"r": 106,
"g": 46,
"b": 169
},
"hsl": {
"h": 269.268,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.45116,
"c": 0.18539,
"h": 301.5
},
"luminance": 0.07883
}Semantic roles & 50–950 ramp
primary
#6A2EA9
secondary
#9AC271
accent
#E04796
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82