#6A3CD2#6A3CD2
#6A3CD2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.215 H 290.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3CD2 |
|---|---|
| RGB | rgb(106, 60, 210) |
| HSL | hsl(258, 63%, 53%) |
| HSV | hsv(258, 71%, 82%) |
| CMYK | cmyk(49.5%, 71.4%, 0%, 17.6%) |
| CIE-LAB | lab(39.49, 54.13, -70.15) |
| CIE-LCH | lch(39.49, 88.60, 307.65°) |
| OKLab | oklab(50.24% 0.0755 -0.2013) |
| OKLCH | oklch(50.24% 0.215 290.5) |
| XYZ | xyz(19.1893, 10.9483, 62.0624) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.12
Burple
#6832E3
ΔE00 2.53
Bluish Purple
#703BE7
ΔE00 2.86
Purpley Blue
#5F34E7
ΔE00 3.10
Blurple
#5539CC
ΔE00 3.33
Blue With A Hint Of Purple
#533CC6
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3CD2 #A4D23C
analogous
#3C59D2 #6A3CD2 #B53CD2
triadic
#6A3CD2 #D26A3C #3CD26A
tetradic
#6A3CD2 #D23C59 #A4D23C #3CD2B5
square
#6A3CD2 #D23C59 #A4D23C #3CD2B5
split-complementary
#6A3CD2 #D2B53C #59D23C
monochromatic
#381C78 #4F27AA #6A3CD2 #906EDD #B69FE9
Accessibility & contrast
On white
6.58
#6A3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#6A3CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3CD2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3CD2 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#476383
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6a3cd2; /* rgb */ color: rgb(106, 60, 210); /* oklch */ color: oklch(50.2% 0.215 290.5);
Tailwind
colors: {
custom: {
50: '#9e76e1',
500: '#6a3cd2',
950: '#000000',
},
}SCSS
$custom: #6a3cd2; $custom-light: #9e76e1; $custom-dark: #000000;
JSON
{
"hex": "#6a3cd2",
"rgb": {
"r": 106,
"g": 60,
"b": 210
},
"hsl": {
"h": 258.4,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.50236,
"c": 0.21503,
"h": 290.5
},
"luminance": 0.10949
}Semantic roles & 50–950 ramp
primary
#6A3CD2
secondary
#C1D594
accent
#E642B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83