#6A46BE#6A46BE
#6A46BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.179 H 292.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6A46BE |
|---|---|
| RGB | rgb(106, 70, 190) |
| HSL | hsl(258, 48%, 51%) |
| HSV | hsv(258, 63%, 75%) |
| CMYK | cmyk(44.2%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(39.85, 43.31, -57.94) |
| CIE-LCH | lch(39.85, 72.34, 306.77°) |
| OKLab | oklab(50% 0.0687 -0.1655) |
| OKLCH | oklch(50% 0.179 292.5) |
| XYZ | xyz(17.4257, 11.1617, 49.9415) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.28
Blue With A Hint Of Purple
#533CC6
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 4.79
Blurple
#5539CC
ΔE00 4.86
Iris
#6258C4
ΔE00 5.71
Bluish Purple
#703BE7
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A46BE #9ABE46
analogous
#465EBE #6A46BE #A646BE
triadic
#6A46BE #BE6A46 #46BE6A
tetradic
#6A46BE #BE465E #9ABE46 #46BEA6
square
#6A46BE #BE465E #9ABE46 #46BEA6
split-complementary
#6A46BE #BEA646 #5EBE46
monochromatic
#382466 #503493 #6A46BE #8E73CE #B3A1DE
Accessibility & contrast
On white
6.50
#6A46BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#6A46BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A46BE
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A46BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A46BE | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#52627B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6a46be; /* rgb */ color: rgb(106, 70, 190); /* oklch */ color: oklch(50.0% 0.179 292.5);
Tailwind
colors: {
custom: {
50: '#9b7bd2',
500: '#6a46be',
950: '#000000',
},
}SCSS
$custom: #6a46be; $custom-light: #9b7bd2; $custom-dark: #000000;
JSON
{
"hex": "#6a46be",
"rgb": {
"r": 106,
"g": 70,
"b": 190
},
"hsl": {
"h": 258,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.50003,
"c": 0.1792,
"h": 292.5
},
"luminance": 0.11162
}Semantic roles & 50–950 ramp
primary
#6A46BE
secondary
#BBCA95
accent
#D850AF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83