#6A4CD1#6A4CD1
#6A4CD1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.195 H 288.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CD1 |
|---|---|
| RGB | rgb(106, 76, 209) |
| HSL | hsl(254, 59%, 56%) |
| HSV | hsv(254, 64%, 82%) |
| CMYK | cmyk(49.3%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(42.51, 45.34, -64.64) |
| CIE-LCH | lch(42.51, 78.96, 305.05°) |
| OKLab | oklab(52.38% 0.0606 -0.1852) |
| OKLCH | oklch(52.38% 0.195 288.1) |
| XYZ | xyz(20.0336, 12.8356, 61.7312) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.00
Iris
#6258C4
ΔE00 4.26
Bluish Purple
#703BE7
ΔE00 4.36
Purpleish Blue
#6140EF
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CD1 #B3D14C
analogous
#4C70D1 #6A4CD1 #AC4CD1
triadic
#6A4CD1 #D16A4C #4CD16A
tetradic
#6A4CD1 #D14C70 #B3D14C #4CD1AC
square
#6A4CD1 #D14C70 #B3D14C #4CD1AC
split-complementary
#6A4CD1 #D1AC4C #70D14C
monochromatic
#372181 #4C2EB2 #6A4CD1 #937DDE #BBADEA
Accessibility & contrast
On white
5.89
#6A4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6A4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CD1
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CD1 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#466C88
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6a4cd1; /* rgb */ color: rgb(106, 76, 209); /* oklch */ color: oklch(52.4% 0.195 288.1);
Tailwind
colors: {
custom: {
50: '#9d80e0',
500: '#6a4cd1',
950: '#000000',
},
}SCSS
$custom: #6a4cd1; $custom-light: #9d80e0; $custom-dark: #000000;
JSON
{
"hex": "#6a4cd1",
"rgb": {
"r": 106,
"g": 76,
"b": 209
},
"hsl": {
"h": 253.534,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.52378,
"c": 0.19488,
"h": 288.1
},
"luminance": 0.12837
}Semantic roles & 50–950 ramp
primary
#6A4CD1
secondary
#CCD8A1
accent
#E246BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83