#6E2EA2#6E2EA2
#6E2EA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.179 H 305.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2EA2 |
|---|---|
| RGB | rgb(110, 46, 162) |
| HSL | hsl(273, 56%, 41%) |
| HSV | hsv(273, 72%, 64%) |
| CMYK | cmyk(32.1%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(33.73, 49.26, -51.22) |
| CIE-LCH | lch(33.73, 71.06, 313.88°) |
| OKLab | oklab(45.05% 0.1038 -0.1455) |
| OKLCH | oklch(45.05% 0.179 305.5) |
| XYZ | xyz(13.9275, 7.8777, 34.9622) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.11
Purple (survey)
#7E1E9C
ΔE00 4.02
Purple Blue
#5D21D0
ΔE00 7.49
Bluey Purple
#6241C7
ΔE00 7.76
Blue With A Hint Of Purple
#533CC6
ΔE00 8.24
Blurple
#5539CC
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2EA2 #62A22E
analogous
#342EA2 #6E2EA2 #A22E9C
triadic
#6E2EA2 #A26E2E #2EA26E
tetradic
#6E2EA2 #A2342E #62A22E #2E9CA2
square
#6E2EA2 #A2342E #62A22E #2E9CA2
split-complementary
#6E2EA2 #9CA22E #2EA234
monochromatic
#2D1343 #4E2072 #6E2EA2 #8E43CA #AA73D7
Accessibility & contrast
On white
8.15
#6E2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6E2EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2EA2
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2EA2 | 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)
#004DA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#654965
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6e2ea2; /* rgb */ color: rgb(110, 46, 162); /* oklch */ color: oklch(45.1% 0.179 305.5);
Tailwind
colors: {
custom: {
50: '#9c6cbe',
500: '#6e2ea2',
950: '#000000',
},
}SCSS
$custom: #6e2ea2; $custom-light: #9c6cbe; $custom-dark: #000000;
JSON
{
"hex": "#6e2ea2",
"rgb": {
"r": 110,
"g": 46,
"b": 162
},
"hsl": {
"h": 273.103,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.45054,
"c": 0.17876,
"h": 305.5
},
"luminance": 0.07878
}Semantic roles & 50–950 ramp
primary
#6E2EA2
secondary
#92BF6D
accent
#DF498C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81