#6E2FA9#6E2FA9
#6E2FA9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.185 H 303.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2FA9 |
|---|---|
| RGB | rgb(110, 47, 169) |
| HSL | hsl(271, 56%, 42%) |
| HSV | hsv(271, 72%, 66%) |
| CMYK | cmyk(34.9%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.42, 50.48, -54.30) |
| CIE-LCH | lch(34.42, 74.14, 312.91°) |
| OKLab | oklab(45.72% 0.1016 -0.1546) |
| OKLCH | oklch(45.72% 0.185 303.3) |
| XYZ | xyz(14.6067, 8.2126, 38.3441) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.81
Purple (survey)
#7E1E9C
ΔE00 4.75
Purple Blue
#5D21D0
ΔE00 6.51
Bluey Purple
#6241C7
ΔE00 6.72
Blurple
#5539CC
ΔE00 7.24
Blue With A Hint Of Purple
#533CC6
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2FA9 #6AA92F
analogous
#312FA9 #6E2FA9 #A92FA7
triadic
#6E2FA9 #A96E2F #2FA96E
tetradic
#6E2FA9 #A9312F #6AA92F #2FA7A9
square
#6E2FA9 #A9312F #6AA92F #2FA7A9
split-complementary
#6E2FA9 #A7A92F #2FA931
monochromatic
#301449 #4F2279 #6E2FA9 #8D49CC #AB79DA
Accessibility & contrast
On white
7.95
#6E2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6E2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2FA9
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2FA9 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#624C69
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6e2fa9; /* rgb */ color: rgb(110, 47, 169); /* oklch */ color: oklch(45.7% 0.185 303.3);
Tailwind
colors: {
custom: {
50: '#9d6dc3',
500: '#6e2fa9',
950: '#000000',
},
}SCSS
$custom: #6e2fa9; $custom-light: #9d6dc3; $custom-dark: #000000;
JSON
{
"hex": "#6e2fa9",
"rgb": {
"r": 110,
"g": 47,
"b": 169
},
"hsl": {
"h": 270.984,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.45715,
"c": 0.18499,
"h": 303.3
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#6E2FA9
secondary
#99C272
accent
#E04891
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82