#6C4FC0#6C4FC0
#6C4FC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.169 H 291.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FC0 |
|---|---|
| RGB | rgb(108, 79, 192) |
| HSL | hsl(255, 47%, 53%) |
| HSV | hsv(255, 59%, 75%) |
| CMYK | cmyk(43.7%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(42.13, 39.16, -55.41) |
| CIE-LCH | lch(42.13, 67.85, 305.25°) |
| OKLab | oklab(51.76% 0.0611 -0.158) |
| OKLCH | oklch(51.76% 0.169 291.1) |
| XYZ | xyz(18.4921, 12.5853, 51.3138) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.63
Slate Blue
#6A5ACD
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 3.98
Bluey Purple
#6241C7
ΔE00 4.12
Royal Purple
#7851A9
ΔE00 5.29
Dark Periwinkle
#665FD1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FC0 #A3C04F
analogous
#4F6AC0 #6C4FC0 #A44FC0
triadic
#6C4FC0 #C06C4F #4FC06C
tetradic
#6C4FC0 #C04F6A #A3C04F #4FC0A4
square
#6C4FC0 #C04F6A #A3C04F #4FC0A4
split-complementary
#6C4FC0 #C0A44F #6AC04F
monochromatic
#39276D #51379A #6C4FC0 #927CD0 #B7A9E0
Accessibility & contrast
On white
5.97
#6C4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#6C4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FC0
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FC0 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0761BE
Tritanopia (blue-blind)
#546880
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6c4fc0; /* rgb */ color: rgb(108, 79, 192); /* oklch */ color: oklch(51.8% 0.169 291.1);
Tailwind
colors: {
custom: {
50: '#9c81d4',
500: '#6c4fc0',
950: '#000000',
},
}SCSS
$custom: #6c4fc0; $custom-light: #9c81d4; $custom-dark: #000000;
JSON
{
"hex": "#6c4fc0",
"rgb": {
"r": 108,
"g": 79,
"b": 192
},
"hsl": {
"h": 255.398,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.51759,
"c": 0.1694,
"h": 291.1
},
"luminance": 0.12586
}Semantic roles & 50–950 ramp
primary
#6C4FC0
secondary
#C1CE9D
accent
#D751B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A14
muted
#7F7C83