#6C4FE5#6C4FE5
#6C4FE5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.215 H 285.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FE5 |
|---|---|
| RGB | rgb(108, 79, 229) |
| HSL | hsl(252, 74%, 60%) |
| HSV | hsv(252, 66%, 90%) |
| CMYK | cmyk(52.8%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(44.85, 49.82, -72.25) |
| CIE-LCH | lch(44.85, 87.76, 304.59°) |
| OKLab | oklab(54.59% 0.0582 -0.2075) |
| OKLCH | oklch(54.59% 0.216 285.7) |
| XYZ | xyz(23.1189, 14.4360, 75.6818) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.31
Bluish Purple
#703BE7
ΔE00 4.38
Purpley
#8756E4
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FE5 #C8E54F
analogous
#4F7DE5 #6C4FE5 #B74FE5
triadic
#6C4FE5 #E56C4F #4FE56C
tetradic
#6C4FE5 #E54F7D #C8E54F #4FE5B7
square
#6C4FE5 #E54F7D #C8E54F #4FE5B7
split-complementary
#6C4FE5 #E5B74F #7DE54F
monochromatic
#3318A2 #4320D7 #6C4FE5 #9984ED #C5BAF5
Accessibility & contrast
On white
5.40
#6C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6C4FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FE5
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FE5 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#3A7593
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6c4fe5; /* rgb */ color: rgb(108, 79, 229); /* oklch */ color: oklch(54.6% 0.215 285.7);
Tailwind
colors: {
custom: {
50: '#a082ee',
500: '#6c4fe5',
950: '#000000',
},
}SCSS
$custom: #6c4fe5; $custom-light: #a082ee; $custom-dark: #000000;
JSON
{
"hex": "#6c4fe5",
"rgb": {
"r": 108,
"g": 79,
"b": 229
},
"hsl": {
"h": 251.6,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.54593,
"c": 0.2155,
"h": 285.7
},
"luminance": 0.14437
}Semantic roles & 50–950 ramp
primary
#6C4FE5
secondary
#D9E5AB
accent
#D60FB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85