#6E30A2#6E30A2
#6E30A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.176 H 305.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6E30A2 |
|---|---|
| RGB | rgb(110, 48, 162) |
| HSL | hsl(273, 54%, 41%) |
| HSV | hsv(273, 70%, 64%) |
| CMYK | cmyk(32.1%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(34.06, 48.33, -50.68) |
| CIE-LCH | lch(34.06, 70.02, 313.64°) |
| OKLab | oklab(45.29% 0.1017 -0.1439) |
| OKLCH | oklch(45.29% 0.176 305.2) |
| XYZ | xyz(14.0075, 8.0376, 34.9889) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.96
Purple (survey)
#7E1E9C
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 7.57
Purple Blue
#5D21D0
ΔE00 7.60
Blue With A Hint Of Purple
#533CC6
ΔE00 8.12
Blurple
#5539CC
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E30A2 #64A230
analogous
#3530A2 #6E30A2 #A2309D
triadic
#6E30A2 #A26E30 #30A26E
tetradic
#6E30A2 #A23530 #64A230 #309DA2
square
#6E30A2 #A23530 #64A230 #309DA2
split-complementary
#6E30A2 #9DA230 #30A235
monochromatic
#2E1444 #4E2273 #6E30A2 #8D47C8 #AA76D6
Accessibility & contrast
On white
8.05
#6E30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#6E30A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E30A2
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E30A2 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0150A0
Tritanopia (blue-blind)
#654A65
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6e30a2; /* rgb */ color: rgb(110, 48, 162); /* oklch */ color: oklch(45.3% 0.176 305.2);
Tailwind
colors: {
custom: {
50: '#9c6dbe',
500: '#6e30a2',
950: '#000000',
},
}SCSS
$custom: #6e30a2; $custom-light: #9c6dbe; $custom-dark: #000000;
JSON
{
"hex": "#6e30a2",
"rgb": {
"r": 110,
"g": 48,
"b": 162
},
"hsl": {
"h": 272.632,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.45292,
"c": 0.17624,
"h": 305.2
},
"luminance": 0.08038
}Semantic roles & 50–950 ramp
primary
#6E30A2
secondary
#93BE6F
accent
#DE4A8D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81