#6C46BB#6C46BB
#6C46BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.176 H 294.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6C46BB |
|---|---|
| RGB | rgb(108, 70, 187) |
| HSL | hsl(259, 46%, 50%) |
| HSV | hsv(259, 63%, 73%) |
| CMYK | cmyk(42.2%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(39.84, 42.89, -56.19) |
| CIE-LCH | lch(39.84, 70.69, 307.35°) |
| OKLab | oklab(49.98% 0.0716 -0.1603) |
| OKLCH | oklch(49.98% 0.176 294.1) |
| XYZ | xyz(17.3417, 11.1559, 48.2437) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.84
Blue With A Hint Of Purple
#533CC6
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.13
Blurple
#5539CC
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 5.45
Iris
#6258C4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C46BB #95BB46
analogous
#465ABB #6C46BB #A646BB
triadic
#6C46BB #BB6C46 #46BB6C
tetradic
#6C46BB #BB465A #95BB46 #46BBA6
square
#6C46BB #BB465A #95BB46 #46BBA6
split-complementary
#6C46BB #BBA646 #5ABB46
monochromatic
#382462 #52358F #6C46BB #9073CB #B3A0DC
Accessibility & contrast
On white
6.50
#6C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#6C46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C46BB
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C46BB | 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)
#005FBF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#57617A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6c46bb; /* rgb */ color: rgb(108, 70, 187); /* oklch */ color: oklch(50.0% 0.176 294.1);
Tailwind
colors: {
custom: {
50: '#9c7bd0',
500: '#6c46bb',
950: '#000000',
},
}SCSS
$custom: #6c46bb; $custom-light: #9c7bd0; $custom-dark: #000000;
JSON
{
"hex": "#6c46bb",
"rgb": {
"r": 108,
"g": 70,
"b": 187
},
"hsl": {
"h": 259.487,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.49976,
"c": 0.17558,
"h": 294.1
},
"luminance": 0.11156
}Semantic roles & 50–950 ramp
primary
#6C46BB
secondary
#B8C894
accent
#D652AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82