#6A4CDA#6A4CDA
#6A4CDA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.206 H 286.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CDA |
|---|---|
| RGB | rgb(106, 76, 218) |
| HSL | hsl(253, 66%, 58%) |
| HSV | hsv(253, 65%, 85%) |
| CMYK | cmyk(51.4%, 65.1%, 0%, 14.5%) |
| CIE-LAB | lab(43.20, 47.94, -68.68) |
| CIE-LCH | lch(43.20, 83.76, 304.92°) |
| OKLab | oklab(53.09% 0.0597 -0.1971) |
| OKLCH | oklch(53.09% 0.206 286.8) |
| XYZ | xyz(21.1794, 13.2940, 67.7661) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.57
Bluish Purple
#703BE7
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 4.08
Bluey Purple
#6241C7
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.20
Iris
#6258C4
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CDA #BCDA4C
analogous
#4C75DA #6A4CDA #B14CDA
triadic
#6A4CDA #DA6A4C #4CDA6A
tetradic
#6A4CDA #DA4C75 #BCDA4C #4CDAB1
square
#6A4CDA #DA4C75 #BCDA4C #4CDAB1
split-complementary
#6A4CDA #DAB14C #75DA4C
monochromatic
#351D8E #4828C1 #6A4CDA #947FE4 #BEB1EF
Accessibility & contrast
On white
5.74
#6A4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6A4CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CDA
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CDA | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#3F6F8C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6a4cda; /* rgb */ color: rgb(106, 76, 218); /* oklch */ color: oklch(53.1% 0.206 286.8);
Tailwind
colors: {
custom: {
50: '#9e80e6',
500: '#6a4cda',
950: '#000000',
},
}SCSS
$custom: #6a4cda; $custom-light: #9e80e6; $custom-dark: #000000;
JSON
{
"hex": "#6a4cda",
"rgb": {
"r": 106,
"g": 76,
"b": 218
},
"hsl": {
"h": 252.676,
"s": 65.741,
"l": 57.647
},
"oklch": {
"l": 0.53092,
"c": 0.20592,
"h": 286.8
},
"luminance": 0.13295
}Semantic roles & 50–950 ramp
primary
#6A4CDA
secondary
#D1DDA4
accent
#E93FC5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84