#6B2EA9#6B2EA9
#6B2EA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.186 H 302.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2EA9 |
|---|---|
| RGB | rgb(107, 46, 169) |
| HSL | hsl(270, 57%, 42%) |
| HSV | hsv(270, 73%, 66%) |
| CMYK | cmyk(36.7%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(33.87, 50.37, -55.22) |
| CIE-LCH | lch(33.87, 74.74, 312.37°) |
| OKLab | oklab(45.24% 0.0983 -0.1574) |
| OKLCH | oklch(45.24% 0.186 302) |
| XYZ | xyz(14.2001, 7.9443, 38.3137) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.78
Purple (survey)
#7E1E9C
ΔE00 5.09
Purple Blue
#5D21D0
ΔE00 6.16
Bluey Purple
#6241C7
ΔE00 6.64
Blurple
#5539CC
ΔE00 6.96
Blue With A Hint Of Purple
#533CC6
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2EA9 #6CA92E
analogous
#2E2FA9 #6B2EA9 #A92EA9
triadic
#6B2EA9 #A96B2E #2EA96B
tetradic
#6B2EA9 #A92E2F #6CA92E #2EA9A9
square
#6B2EA9 #A92E2F #6CA92E #2EA9A9
split-complementary
#6B2EA9 #A9A92E #2FA92E
monochromatic
#2E1449 #4D2179 #6B2EA9 #8A47CD #A877DA
Accessibility & contrast
On white
8.11
#6B2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6B2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2EA9
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2EA9 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#5E4C69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6b2ea9; /* rgb */ color: rgb(107, 46, 169); /* oklch */ color: oklch(45.2% 0.186 302.0);
Tailwind
colors: {
custom: {
50: '#9b6cc3',
500: '#6b2ea9',
950: '#000000',
},
}SCSS
$custom: #6b2ea9; $custom-light: #9b6cc3; $custom-dark: #000000;
JSON
{
"hex": "#6b2ea9",
"rgb": {
"r": 107,
"g": 46,
"b": 169
},
"hsl": {
"h": 269.756,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.45236,
"c": 0.18558,
"h": 302
},
"luminance": 0.07944
}Semantic roles & 50–950 ramp
primary
#6B2EA9
secondary
#9AC271
accent
#E04795
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82