#6A4CD9#6A4CD9
#6A4CD9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.205 H 287.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CD9 |
|---|---|
| RGB | rgb(106, 76, 217) |
| HSL | hsl(253, 65%, 57%) |
| HSV | hsv(253, 65%, 85%) |
| CMYK | cmyk(51.2%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(43.13, 47.66, -68.24) |
| CIE-LCH | lch(43.13, 83.23, 304.93°) |
| OKLab | oklab(53.01% 0.0598 -0.1958) |
| OKLCH | oklch(53.01% 0.205 287) |
| XYZ | xyz(21.0490, 13.2418, 67.0790) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.65
Bluish Purple
#703BE7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.05
Bluey Purple
#6241C7
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.16
Iris
#6258C4
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CD9 #BBD94C
analogous
#4C74D9 #6A4CD9 #B14CD9
triadic
#6A4CD9 #D96A4C #4CD96A
tetradic
#6A4CD9 #D94C74 #BBD94C #4CD9B1
square
#6A4CD9 #D94C74 #BBD94C #4CD9B1
split-complementary
#6A4CD9 #D9B14C #74D94C
monochromatic
#351E8D #4929BF #6A4CD9 #947EE4 #BEB1EE
Accessibility & contrast
On white
5.76
#6A4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#6A4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CD9
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CD9 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#406F8C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6a4cd9; /* rgb */ color: rgb(106, 76, 217); /* oklch */ color: oklch(53.0% 0.205 287.0);
Tailwind
colors: {
custom: {
50: '#9e80e6',
500: '#6a4cd9',
950: '#000000',
},
}SCSS
$custom: #6a4cd9; $custom-light: #9e80e6; $custom-dark: #000000;
JSON
{
"hex": "#6a4cd9",
"rgb": {
"r": 106,
"g": 76,
"b": 217
},
"hsl": {
"h": 252.766,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.53012,
"c": 0.2047,
"h": 287
},
"luminance": 0.13243
}Semantic roles & 50–950 ramp
primary
#6A4CD9
secondary
#D1DDA4
accent
#E840C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84