#6C4FBB#6C4FBB
#6C4FBB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.163 H 292.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FBB |
|---|---|
| RGB | rgb(108, 79, 187) |
| HSL | hsl(256, 44%, 52%) |
| HSV | hsv(256, 58%, 73%) |
| CMYK | cmyk(42.2%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.79, 37.74, -53.04) |
| CIE-LCH | lch(41.79, 65.10, 305.43°) |
| OKLab | oklab(51.4% 0.0612 -0.151) |
| OKLCH | oklch(51.4% 0.163 292.1) |
| XYZ | xyz(17.9475, 12.3674, 48.4456) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.49
Royal Purple
#7851A9
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FBB #9EBB4F
analogous
#4F68BB #6C4FBB #A24FBB
triadic
#6C4FBB #BB6C4F #4FBB6C
tetradic
#6C4FBB #BB4F68 #9EBB4F #4FBBA2
square
#6C4FBB #BB4F68 #9EBB4F #4FBBA2
split-complementary
#6C4FBB #BBA24F #68BB4F
monochromatic
#392868 #513994 #6C4FBB #917BCC #B6A7DD
Accessibility & contrast
On white
6.05
#6C4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6C4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FBB
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FBB | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#1860B9
Tritanopia (blue-blind)
#56677D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6c4fbb; /* rgb */ color: rgb(108, 79, 187); /* oklch */ color: oklch(51.4% 0.163 292.1);
Tailwind
colors: {
custom: {
50: '#9b81d0',
500: '#6c4fbb',
950: '#000000',
},
}SCSS
$custom: #6c4fbb; $custom-light: #9b81d0; $custom-dark: #000000;
JSON
{
"hex": "#6c4fbb",
"rgb": {
"r": 108,
"g": 79,
"b": 187
},
"hsl": {
"h": 256.111,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.51404,
"c": 0.16294,
"h": 292.1
},
"luminance": 0.12368
}Semantic roles & 50–950 ramp
primary
#6C4FBB
secondary
#BECA9B
accent
#D454B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82