#6A3EC8#6A3EC8
#6A3EC8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.201 H 292.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3EC8 |
|---|---|
| RGB | rgb(106, 62, 200) |
| HSL | hsl(259, 56%, 51%) |
| HSV | hsv(259, 69%, 78%) |
| CMYK | cmyk(47%, 69%, 0%, 21.6%) |
| CIE-LAB | lab(39.03, 50.39, -65.11) |
| CIE-LCH | lch(39.03, 82.33, 307.74°) |
| OKLab | oklab(49.66% 0.0756 -0.1865) |
| OKLCH | oklch(49.66% 0.201 292.1) |
| XYZ | xyz(18.0889, 10.6789, 55.7405) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.49
Blurple
#5539CC
ΔE00 3.42
Blue With A Hint Of Purple
#533CC6
ΔE00 3.61
Burple
#6832E3
ΔE00 3.81
Bluish Purple
#703BE7
ΔE00 4.11
Purpley Blue
#5F34E7
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3EC8 #9CC83E
analogous
#3E57C8 #6A3EC8 #AF3EC8
triadic
#6A3EC8 #C86A3E #3EC86A
tetradic
#6A3EC8 #C83E57 #9CC83E #3EC8AF
square
#6A3EC8 #C83E57 #9CC83E #3EC8AF
split-complementary
#6A3EC8 #C8AF3E #57C83E
monochromatic
#381F6D #502D9C #6A3EC8 #8F6ED6 #B49DE3
Accessibility & contrast
On white
6.70
#6A3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#6A3EC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3EC8
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3EC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3EC8 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#4D617E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #6a3ec8; /* rgb */ color: rgb(106, 62, 200); /* oklch */ color: oklch(49.7% 0.201 292.1);
Tailwind
colors: {
custom: {
50: '#9d77da',
500: '#6a3ec8',
950: '#000000',
},
}SCSS
$custom: #6a3ec8; $custom-light: #9d77da; $custom-dark: #000000;
JSON
{
"hex": "#6a3ec8",
"rgb": {
"r": 106,
"g": 62,
"b": 200
},
"hsl": {
"h": 259.13,
"s": 55.645,
"l": 51.373
},
"oklch": {
"l": 0.49655,
"c": 0.20128,
"h": 292.1
},
"luminance": 0.1068
}Semantic roles & 50–950 ramp
primary
#6A3EC8
secondary
#BCCF92
accent
#DF49AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83