#6E2FA6#6E2FA6
#6E2FA6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.182 H 304.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2FA6 |
|---|---|
| RGB | rgb(110, 47, 166) |
| HSL | hsl(272, 56%, 42%) |
| HSV | hsv(272, 72%, 65%) |
| CMYK | cmyk(33.7%, 71.7%, 0%, 34.9%) |
| CIE-LAB | lab(34.19, 49.76, -52.87) |
| CIE-LCH | lch(34.19, 72.60, 313.26°) |
| OKLab | oklab(45.48% 0.1021 -0.1504) |
| OKLCH | oklch(45.48% 0.182 304.2) |
| XYZ | xyz(14.3283, 8.1012, 36.8778) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.44
Purple (survey)
#7E1E9C
ΔE00 4.46
Purple Blue
#5D21D0
ΔE00 6.94
Bluey Purple
#6241C7
ΔE00 7.11
Blue With A Hint Of Purple
#533CC6
ΔE00 7.64
Blurple
#5539CC
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2FA6 #67A62F
analogous
#332FA6 #6E2FA6 #A62FA3
triadic
#6E2FA6 #A66E2F #2FA66E
tetradic
#6E2FA6 #A6332F #67A62F #2FA3A6
square
#6E2FA6 #A6332F #67A62F #2FA3A6
split-complementary
#6E2FA6 #A3A62F #2FA633
monochromatic
#2F1447 #4E2176 #6E2FA6 #8D47CB #AB77D8
Accessibility & contrast
On white
8.01
#6E2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6E2FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2FA6
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2FA6 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#634B67
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6e2fa6; /* rgb */ color: rgb(110, 47, 166); /* oklch */ color: oklch(45.5% 0.182 304.2);
Tailwind
colors: {
custom: {
50: '#9c6dc1',
500: '#6e2fa6',
950: '#000000',
},
}SCSS
$custom: #6e2fa6; $custom-light: #9c6dc1; $custom-dark: #000000;
JSON
{
"hex": "#6e2fa6",
"rgb": {
"r": 110,
"g": 47,
"b": 166
},
"hsl": {
"h": 271.765,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.4548,
"c": 0.18179,
"h": 304.2
},
"luminance": 0.08101
}Semantic roles & 50–950 ramp
primary
#6E2FA6
secondary
#96C170
accent
#DF498F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81