#6C46DB#6C46DB
#6C46DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.214 H 288.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #6C46DB |
|---|---|
| RGB | rgb(108, 70, 219) |
| HSL | hsl(255, 67%, 57%) |
| HSV | hsv(255, 68%, 86%) |
| CMYK | cmyk(50.7%, 68%, 0%, 14.1%) |
| CIE-LAB | lab(42.28, 51.82, -70.75) |
| CIE-LCH | lch(42.28, 87.70, 306.22°) |
| OKLab | oklab(52.5% 0.0678 -0.2031) |
| OKLCH | oklch(52.5% 0.214 288.5) |
| XYZ | xyz(21.1570, 12.6820, 68.3372) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.49
Purpleish Blue
#6140EF
ΔE00 2.90
Bluey Purple
#6241C7
ΔE00 3.49
Burple
#6832E3
ΔE00 3.99
Purpley Blue
#5F34E7
ΔE00 4.15
Blurple
#5539CC
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C46DB #B5DB46
analogous
#466BDB #6C46DB #B746DB
triadic
#6C46DB #DB6C46 #46DB6C
tetradic
#6C46DB #DB466B #B5DB46 #46DBB7
square
#6C46DB #DB466B #B5DB46 #46DBB7
split-complementary
#6C46DB #DBB746 #6BDB46
monochromatic
#381B8B #4C25BF #6C46DB #9579E5 #BDACEF
Accessibility & contrast
On white
5.94
#6C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#6C46DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C46DB
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C46DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C46DB | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#436C8B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6c46db; /* rgb */ color: rgb(108, 70, 219); /* oklch */ color: oklch(52.5% 0.214 288.5);
Tailwind
colors: {
custom: {
50: '#a07ce7',
500: '#6c46db',
950: '#000000',
},
}SCSS
$custom: #6c46db; $custom-light: #a07ce7; $custom-dark: #000000;
JSON
{
"hex": "#6c46db",
"rgb": {
"r": 108,
"g": 70,
"b": 219
},
"hsl": {
"h": 255.302,
"s": 67.421,
"l": 56.667
},
"oklch": {
"l": 0.52498,
"c": 0.2141,
"h": 288.5
},
"luminance": 0.12683
}Semantic roles & 50–950 ramp
primary
#6C46DB
secondary
#CDDDA0
accent
#EA3DBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84