#6A4CD2#6A4CD2
#6A4CD2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.196 H 288.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CD2 |
|---|---|
| RGB | rgb(106, 76, 210) |
| HSL | hsl(253, 60%, 56%) |
| HSV | hsv(253, 64%, 82%) |
| CMYK | cmyk(49.5%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(42.59, 45.63, -65.10) |
| CIE-LCH | lch(42.59, 79.50, 305.03°) |
| OKLab | oklab(52.46% 0.0605 -0.1865) |
| OKLCH | oklch(52.46% 0.196 288) |
| XYZ | xyz(20.1578, 12.8853, 62.3852) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.01
Bluish Purple
#703BE7
ΔE00 4.28
Iris
#6258C4
ΔE00 4.31
Purpleish Blue
#6140EF
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CD2 #B4D24C
analogous
#4C71D2 #6A4CD2 #AD4CD2
triadic
#6A4CD2 #D26A4C #4CD26A
tetradic
#6A4CD2 #D24C71 #B4D24C #4CD2AD
square
#6A4CD2 #D24C71 #B4D24C #4CD2AD
split-complementary
#6A4CD2 #D2AD4C #71D24C
monochromatic
#372183 #4B2DB4 #6A4CD2 #937DDE #BBAEEB
Accessibility & contrast
On white
5.87
#6A4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6A4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CD2
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CD2 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#456C88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6a4cd2; /* rgb */ color: rgb(106, 76, 210); /* oklch */ color: oklch(52.5% 0.196 288.0);
Tailwind
colors: {
custom: {
50: '#9d80e1',
500: '#6a4cd2',
950: '#000000',
},
}SCSS
$custom: #6a4cd2; $custom-light: #9d80e1; $custom-dark: #000000;
JSON
{
"hex": "#6a4cd2",
"rgb": {
"r": 106,
"g": 76,
"b": 210
},
"hsl": {
"h": 253.433,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.52457,
"c": 0.19611,
"h": 288
},
"luminance": 0.12886
}Semantic roles & 50–950 ramp
primary
#6A4CD2
secondary
#CCD9A1
accent
#E345C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83