#6B46DB#6B46DB
#6B46DB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.214 H 288.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6B46DB |
|---|---|
| RGB | rgb(107, 70, 219) |
| HSL | hsl(255, 67%, 57%) |
| HSV | hsv(255, 68%, 86%) |
| CMYK | cmyk(51.1%, 68%, 0%, 14.1%) |
| CIE-LAB | lab(42.18, 51.65, -70.91) |
| CIE-LCH | lch(42.18, 87.73, 306.07°) |
| OKLab | oklab(52.41% 0.0664 -0.2036) |
| OKLCH | oklch(52.41% 0.214 288.1) |
| XYZ | xyz(21.0360, 12.6196, 68.3315) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.53
Purpleish Blue
#6140EF
ΔE00 2.83
Bluey Purple
#6241C7
ΔE00 3.42
Burple
#6832E3
ΔE00 3.97
Purpley Blue
#5F34E7
ΔE00 4.08
Blurple
#5539CC
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B46DB #B6DB46
analogous
#466CDB #6B46DB #B546DB
triadic
#6B46DB #DB6B46 #46DB6B
tetradic
#6B46DB #DB466C #B6DB46 #46DBB5
square
#6B46DB #DB466C #B6DB46 #46DBB5
split-complementary
#6B46DB #DBB546 #6CDB46
monochromatic
#371B8B #4B25BF #6B46DB #9479E5 #BDACEF
Accessibility & contrast
On white
5.96
#6B46DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#6B46DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B46DB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B46DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B46DB | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#416C8B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6b46db; /* rgb */ color: rgb(107, 70, 219); /* oklch */ color: oklch(52.4% 0.214 288.1);
Tailwind
colors: {
custom: {
50: '#9f7ce7',
500: '#6b46db',
950: '#000000',
},
}SCSS
$custom: #6b46db; $custom-light: #9f7ce7; $custom-dark: #000000;
JSON
{
"hex": "#6b46db",
"rgb": {
"r": 107,
"g": 70,
"b": 219
},
"hsl": {
"h": 254.899,
"s": 67.421,
"l": 56.667
},
"oklch": {
"l": 0.52406,
"c": 0.21416,
"h": 288.1
},
"luminance": 0.12621
}Semantic roles & 50–950 ramp
primary
#6B46DB
secondary
#CEDDA0
accent
#EA3DBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84