#6A3DC2#6A3DC2
#6A3DC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.196 H 293.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3DC2 |
|---|---|
| RGB | rgb(106, 61, 194) |
| HSL | hsl(260, 52%, 50%) |
| HSV | hsv(260, 69%, 76%) |
| CMYK | cmyk(45.4%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(38.37, 49.27, -62.69) |
| CIE-LCH | lch(38.37, 79.74, 308.16°) |
| OKLab | oklab(49.03% 0.0775 -0.1795) |
| OKLCH | oklch(49.03% 0.196 293.4) |
| XYZ | xyz(17.3475, 10.2962, 52.1018) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.87
Blurple
#5539CC
ΔE00 3.64
Blue With A Hint Of Purple
#533CC6
ΔE00 3.71
Burple
#6832E3
ΔE00 4.47
Bluish Purple
#703BE7
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3DC2 #95C23D
analogous
#3D52C2 #6A3DC2 #AD3DC2
triadic
#6A3DC2 #C26A3D #3DC26A
tetradic
#6A3DC2 #C23D52 #95C23D #3DC2AD
square
#6A3DC2 #C23D52 #95C23D #3DC2AD
split-complementary
#6A3DC2 #C2AD3D #52C23D
monochromatic
#372065 #512E93 #6A3DC2 #8E6CD1 #B29ADF
Accessibility & contrast
On white
6.86
#6A3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#6A3DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3DC2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3DC2 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#505E7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #6a3dc2; /* rgb */ color: rgb(106, 61, 194); /* oklch */ color: oklch(49.0% 0.196 293.4);
Tailwind
colors: {
custom: {
50: '#9c76d5',
500: '#6a3dc2',
950: '#000000',
},
}SCSS
$custom: #6a3dc2; $custom-light: #9c76d5; $custom-dark: #000000;
JSON
{
"hex": "#6a3dc2",
"rgb": {
"r": 106,
"g": 61,
"b": 194
},
"hsl": {
"h": 260.301,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.4903,
"c": 0.1955,
"h": 293.4
},
"luminance": 0.10297
}Semantic roles & 50–950 ramp
primary
#6A3DC2
secondary
#B7CB90
accent
#DC4CAB
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83