#6B46CF#6B46CF
#6B46CF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.200 H 289.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6B46CF |
|---|---|
| RGB | rgb(107, 70, 207) |
| HSL | hsl(256, 59%, 54%) |
| HSV | hsv(256, 66%, 81%) |
| CMYK | cmyk(48.3%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.23, 48.27, -65.57) |
| CIE-LCH | lch(41.23, 81.42, 306.36°) |
| OKLab | oklab(51.43% 0.0682 -0.1879) |
| OKLCH | oklch(51.43% 0.2 289.9) |
| XYZ | xyz(19.5128, 12.0103, 60.3095) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.24
Bluish Purple
#703BE7
ΔE00 3.57
Purpleish Blue
#6140EF
ΔE00 4.24
Burple
#6832E3
ΔE00 4.40
Blurple
#5539CC
ΔE00 4.56
Blue With A Hint Of Purple
#533CC6
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B46CF #AACF46
analogous
#4666CF #6B46CF #AF46CF
triadic
#6B46CF #CF6B46 #46CF6B
tetradic
#6B46CF #CF4666 #AACF46 #46CFAF
square
#6B46CF #CF4666 #AACF46 #46CFAF
split-complementary
#6B46CF #CFAF46 #66CF46
monochromatic
#38207B #4F2CAB #6B46CF #9277DC #B9A7E8
Accessibility & contrast
On white
6.17
#6B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6B46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B46CF
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B46CF | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4A6885
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6b46cf; /* rgb */ color: rgb(107, 70, 207); /* oklch */ color: oklch(51.4% 0.200 289.9);
Tailwind
colors: {
custom: {
50: '#9d7cdf',
500: '#6b46cf',
950: '#000000',
},
}SCSS
$custom: #6b46cf; $custom-light: #9d7cdf; $custom-dark: #000000;
JSON
{
"hex": "#6b46cf",
"rgb": {
"r": 107,
"g": 70,
"b": 207
},
"hsl": {
"h": 256.204,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.51427,
"c": 0.1999,
"h": 289.9
},
"luminance": 0.12011
}Semantic roles & 50–950 ramp
primary
#6B46CF
secondary
#C6D59B
accent
#E246B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83