#6A46CB#6A46CB
#6A46CB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.195 H 290.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6A46CB |
|---|---|
| RGB | rgb(106, 70, 203) |
| HSL | hsl(256, 56%, 54%) |
| HSV | hsv(256, 66%, 80%) |
| CMYK | cmyk(47.8%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(40.83, 46.96, -63.93) |
| CIE-LCH | lch(40.83, 79.32, 306.30°) |
| OKLab | oklab(51.01% 0.0673 -0.1831) |
| OKLCH | oklch(51.01% 0.195 290.2) |
| XYZ | xyz(18.9104, 11.7556, 57.7610) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.89
Bluish Purple
#703BE7
ΔE00 4.05
Blue With A Hint Of Purple
#533CC6
ΔE00 4.35
Blurple
#5539CC
ΔE00 4.40
Burple
#6832E3
ΔE00 4.67
Purpleish Blue
#6140EF
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A46CB #A7CB46
analogous
#4664CB #6A46CB #AD46CB
triadic
#6A46CB #CB6A46 #46CB6A
tetradic
#6A46CB #CB4664 #A7CB46 #46CBAD
square
#6A46CB #CB4664 #A7CB46 #46CBAD
split-complementary
#6A46CB #CBAD46 #64CB46
monochromatic
#382176 #4F2EA5 #6A46CB #9076D8 #B7A6E6
Accessibility & contrast
On white
6.27
#6A46CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#6A46CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A46CB
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A46CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A46CB | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#4B6682
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6a46cb; /* rgb */ color: rgb(106, 70, 203); /* oklch */ color: oklch(51.0% 0.195 290.2);
Tailwind
colors: {
custom: {
50: '#9c7cdc',
500: '#6a46cb',
950: '#000000',
},
}SCSS
$custom: #6a46cb; $custom-light: #9c7cdc; $custom-dark: #000000;
JSON
{
"hex": "#6a46cb",
"rgb": {
"r": 106,
"g": 70,
"b": 203
},
"hsl": {
"h": 256.241,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.51013,
"c": 0.19509,
"h": 290.2
},
"luminance": 0.11756
}Semantic roles & 50–950 ramp
primary
#6A46CB
secondary
#C3D39A
accent
#DF48B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83