#6A4CD3#6A4CD3
#6A4CD3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.197 H 287.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CD3 |
|---|---|
| RGB | rgb(106, 76, 211) |
| HSL | hsl(253, 61%, 56%) |
| HSV | hsv(253, 64%, 83%) |
| CMYK | cmyk(49.8%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(42.67, 45.92, -65.55) |
| CIE-LCH | lch(42.67, 80.03, 305.01°) |
| OKLab | oklab(52.54% 0.0604 -0.1879) |
| OKLCH | oklch(52.54% 0.197 287.8) |
| XYZ | xyz(20.2827, 12.9353, 63.0434) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.02
Bluish Purple
#703BE7
ΔE00 4.21
Purpleish Blue
#6140EF
ΔE00 4.22
Iris
#6258C4
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CD3 #B5D34C
analogous
#4C72D3 #6A4CD3 #AE4CD3
triadic
#6A4CD3 #D36A4C #4CD36A
tetradic
#6A4CD3 #D34C72 #B5D34C #4CD3AE
square
#6A4CD3 #D34C72 #B5D34C #4CD3AE
split-complementary
#6A4CD3 #D3AE4C #72D34C
monochromatic
#372084 #4B2DB5 #6A4CD3 #937DDF #BCAEEB
Accessibility & contrast
On white
5.85
#6A4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6A4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CD3
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CD3 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#456D89
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6a4cd3; /* rgb */ color: rgb(106, 76, 211); /* oklch */ color: oklch(52.5% 0.197 287.8);
Tailwind
colors: {
custom: {
50: '#9d80e1',
500: '#6a4cd3',
950: '#000000',
},
}SCSS
$custom: #6a4cd3; $custom-light: #9d80e1; $custom-dark: #000000;
JSON
{
"hex": "#6a4cd3",
"rgb": {
"r": 106,
"g": 76,
"b": 211
},
"hsl": {
"h": 253.333,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.52535,
"c": 0.19735,
"h": 287.8
},
"luminance": 0.12936
}Semantic roles & 50–950 ramp
primary
#6A4CD3
secondary
#CDD9A2
accent
#E444C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83