#6A46BA#6A46BA
#6A46BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.174 H 293.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6A46BA |
|---|---|
| RGB | rgb(106, 70, 186) |
| HSL | hsl(259, 46%, 50%) |
| HSV | hsv(259, 62%, 73%) |
| CMYK | cmyk(43%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(39.56, 42.19, -56.07) |
| CIE-LCH | lch(39.56, 70.17, 306.96°) |
| OKLab | oklab(49.7% 0.069 -0.16) |
| OKLCH | oklch(49.7% 0.174 293.3) |
| XYZ | xyz(16.9945, 10.9892, 47.6706) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.72
Ocean Blue
#4F42B5
ΔE00 4.76
Blue With A Hint Of Purple
#533CC6
ΔE00 4.79
Blurple
#5539CC
ΔE00 5.18
Royal Purple
#7851A9
ΔE00 5.59
Iris
#6258C4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A46BA #96BA46
analogous
#465CBA #6A46BA #A446BA
triadic
#6A46BA #BA6A46 #46BA6A
tetradic
#6A46BA #BA465C #96BA46 #46BAA4
square
#6A46BA #BA465C #96BA46 #46BAA4
split-complementary
#6A46BA #BAA446 #5CBA46
monochromatic
#372461 #51358E #6A46BA #8E73CB #B29FDB
Accessibility & contrast
On white
6.57
#6A46BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#6A46BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A46BA
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A46BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A46BA | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#546079
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6a46ba; /* rgb */ color: rgb(106, 70, 186); /* oklch */ color: oklch(49.7% 0.174 293.3);
Tailwind
colors: {
custom: {
50: '#9a7bcf',
500: '#6a46ba',
950: '#000000',
},
}SCSS
$custom: #6a46ba; $custom-light: #9a7bcf; $custom-dark: #000000;
JSON
{
"hex": "#6a46ba",
"rgb": {
"r": 106,
"g": 70,
"b": 186
},
"hsl": {
"h": 258.621,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.49702,
"c": 0.17423,
"h": 293.3
},
"luminance": 0.1099
}Semantic roles & 50–950 ramp
primary
#6A46BA
secondary
#B8C894
accent
#D552AD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82