#6E46B2#6E46B2
#6E46B2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.165 H 297.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6E46B2 |
|---|---|
| RGB | rgb(110, 70, 178) |
| HSL | hsl(262, 44%, 49%) |
| HSV | hsv(262, 61%, 70%) |
| CMYK | cmyk(38.2%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(39.43, 40.88, -51.55) |
| CIE-LCH | lch(39.43, 65.80, 308.41°) |
| OKLab | oklab(49.53% 0.0749 -0.1466) |
| OKLCH | oklch(49.53% 0.165 297.1) |
| XYZ | xyz(16.6544, 10.9094, 43.3391) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 5.77
Rebeccapurple
#663399
ΔE00 6.09
Blue With A Hint Of Purple
#533CC6
ΔE00 6.13
Blurple
#5539CC
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E46B2 #8AB246
analogous
#4654B2 #6E46B2 #A446B2
triadic
#6E46B2 #B26E46 #46B26E
tetradic
#6E46B2 #B24654 #8AB246 #46B2A4
square
#6E46B2 #B24654 #8AB246 #46B2A4
split-complementary
#6E46B2 #B2A446 #54B246
monochromatic
#38235A #533586 #6E46B2 #8F6FC6 #B19BD8
Accessibility & contrast
On white
6.60
#6E46B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#6E46B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E46B2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E46B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E46B2 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#5E5D75
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6e46b2; /* rgb */ color: rgb(110, 70, 178); /* oklch */ color: oklch(49.5% 0.165 297.1);
Tailwind
colors: {
custom: {
50: '#9c7bca',
500: '#6e46b2',
950: '#000000',
},
}SCSS
$custom: #6e46b2; $custom-light: #9c7bca; $custom-dark: #000000;
JSON
{
"hex": "#6e46b2",
"rgb": {
"r": 110,
"g": 70,
"b": 178
},
"hsl": {
"h": 262.222,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.49525,
"c": 0.1646,
"h": 297.1
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#6E46B2
secondary
#B1C490
accent
#D355A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82