#6A3EC2#6A3EC2
#6A3EC2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.194 H 293.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3EC2 |
|---|---|
| RGB | rgb(106, 62, 194) |
| HSL | hsl(260, 52%, 50%) |
| HSV | hsv(260, 68%, 76%) |
| CMYK | cmyk(45.4%, 68%, 0%, 23.9%) |
| CIE-LAB | lab(38.56, 48.75, -62.39) |
| CIE-LCH | lch(38.56, 79.17, 308.01°) |
| OKLab | oklab(49.17% 0.0766 -0.1786) |
| OKLCH | oklch(49.17% 0.194 293.2) |
| XYZ | xyz(17.4014, 10.4039, 52.1198) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.76
Blurple
#5539CC
ΔE00 3.70
Blue With A Hint Of Purple
#533CC6
ΔE00 3.73
Burple
#6832E3
ΔE00 4.54
Bluish Purple
#703BE7
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3EC2 #96C23E
analogous
#3E54C2 #6A3EC2 #AC3EC2
triadic
#6A3EC2 #C26A3E #3EC26A
tetradic
#6A3EC2 #C23E54 #96C23E #3EC2AC
square
#6A3EC2 #C23E54 #96C23E #3EC2AC
split-complementary
#6A3EC2 #C2AC3E #54C23E
monochromatic
#372066 #512F94 #6A3EC2 #8E6DD1 #B29BDF
Accessibility & contrast
On white
6.82
#6A3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#6A3EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3EC2
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3EC2 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#505E7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #6a3ec2; /* rgb */ color: rgb(106, 62, 194); /* oklch */ color: oklch(49.2% 0.194 293.2);
Tailwind
colors: {
custom: {
50: '#9c76d5',
500: '#6a3ec2',
950: '#000000',
},
}SCSS
$custom: #6a3ec2; $custom-light: #9c76d5; $custom-dark: #000000;
JSON
{
"hex": "#6a3ec2",
"rgb": {
"r": 106,
"g": 62,
"b": 194
},
"hsl": {
"h": 260,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.49166,
"c": 0.19428,
"h": 293.2
},
"luminance": 0.10404
}Semantic roles & 50–950 ramp
primary
#6A3EC2
secondary
#B8CB90
accent
#DB4CAC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83