#6C4FDA#6C4FDA
#6C4FDA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.7% C 0.202 H 287.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FDA |
|---|---|
| RGB | rgb(108, 79, 218) |
| HSL | hsl(253, 65%, 58%) |
| HSV | hsv(253, 64%, 85%) |
| CMYK | cmyk(50.5%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(44.00, 46.63, -67.37) |
| CIE-LCH | lch(44.00, 81.94, 304.69°) |
| OKLab | oklab(53.72% 0.0594 -0.1932) |
| OKLCH | oklch(53.72% 0.202 287.1) |
| XYZ | xyz(21.6315, 13.8410, 67.8479) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 3.55
Purpleish Blue
#6140EF
ΔE00 4.20
Iris
#6258C4
ΔE00 4.42
Bluish Purple
#703BE7
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FDA #BDDA4F
analogous
#4F77DA #6C4FDA #B14FDA
triadic
#6C4FDA #DA6C4F #4FDA6C
tetradic
#6C4FDA #DA4F77 #BDDA4F #4FDAB1
square
#6C4FDA #DA4F77 #BDDA4F #4FDAB1
split-complementary
#6C4FDA #DAB14F #77DA4F
monochromatic
#361E90 #4929C3 #6C4FDA #9682E5 #C0B4EF
Accessibility & contrast
On white
5.57
#6C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6C4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FDA
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FDA | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#43718D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6c4fda; /* rgb */ color: rgb(108, 79, 218); /* oklch */ color: oklch(53.7% 0.202 287.1);
Tailwind
colors: {
custom: {
50: '#9f82e6',
500: '#6c4fda',
950: '#000000',
},
}SCSS
$custom: #6c4fda; $custom-light: #9f82e6; $custom-dark: #000000;
JSON
{
"hex": "#6c4fda",
"rgb": {
"r": 108,
"g": 79,
"b": 218
},
"hsl": {
"h": 252.518,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.53716,
"c": 0.20211,
"h": 287.1
},
"luminance": 0.13842
}Semantic roles & 50–950 ramp
primary
#6C4FDA
secondary
#D3DEA7
accent
#E840C5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84