#6C4BBF#6C4BBF
#6C4BBF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.174 H 292.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4BBF |
|---|---|
| RGB | rgb(108, 75, 191) |
| HSL | hsl(257, 48%, 52%) |
| HSV | hsv(257, 61%, 75%) |
| CMYK | cmyk(43.5%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(41.19, 41.18, -56.36) |
| CIE-LCH | lch(41.19, 69.80, 306.15°) |
| OKLab | oklab(51.04% 0.0657 -0.1608) |
| OKLCH | oklch(51.04% 0.174 292.2) |
| XYZ | xyz(18.1018, 11.9813, 50.6390) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.27
Iris
#6258C4
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.96
Light Indigo
#6D5ACF
ΔE00 5.00
Royal Purple
#7851A9
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4BBF #9EBF4B
analogous
#4B64BF #6C4BBF #A64BBF
triadic
#6C4BBF #BF6C4B #4BBF6C
tetradic
#6C4BBF #BF4B64 #9EBF4B #4BBFA6
square
#6C4BBF #BF4B64 #9EBF4B #4BBFA6
split-complementary
#6C4BBF #BFA64B #64BF4B
monochromatic
#39266A #513697 #6C4BBF #9178CF #B6A5DF
Accessibility & contrast
On white
6.18
#6C4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6C4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4BBF
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4BBF | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#54657E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6c4bbf; /* rgb */ color: rgb(108, 75, 191); /* oklch */ color: oklch(51.0% 0.174 292.2);
Tailwind
colors: {
custom: {
50: '#9c7fd3',
500: '#6c4bbf',
950: '#000000',
},
}SCSS
$custom: #6c4bbf; $custom-light: #9c7fd3; $custom-dark: #000000;
JSON
{
"hex": "#6c4bbf",
"rgb": {
"r": 108,
"g": 75,
"b": 191
},
"hsl": {
"h": 257.069,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.51045,
"c": 0.17369,
"h": 292.2
},
"luminance": 0.11982
}Semantic roles & 50–950 ramp
primary
#6C4BBF
secondary
#BECC9A
accent
#D751B1
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83