#6A3FD2#6A3FD2
#6A3FD2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.212 H 290.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3FD2 |
|---|---|
| RGB | rgb(106, 63, 210) |
| HSL | hsl(258, 62%, 54%) |
| HSV | hsv(258, 70%, 82%) |
| CMYK | cmyk(49.5%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(40.03, 52.62, -69.26) |
| CIE-LCH | lch(40.03, 86.98, 307.22°) |
| OKLab | oklab(50.62% 0.0729 -0.1988) |
| OKLCH | oklch(50.62% 0.212 290.1) |
| XYZ | xyz(19.3509, 11.2715, 62.1163) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.95
Bluish Purple
#703BE7
ΔE00 2.81
Burple
#6832E3
ΔE00 2.93
Purpley Blue
#5F34E7
ΔE00 3.38
Blurple
#5539CC
ΔE00 3.56
Purpleish Blue
#6140EF
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3FD2 #A7D23F
analogous
#3F5DD2 #6A3FD2 #B33FD2
triadic
#6A3FD2 #D26A3F #3FD26A
tetradic
#6A3FD2 #D23F5D #A7D23F #3FD2B3
square
#6A3FD2 #D23F5D #A7D23F #3FD2B3
split-complementary
#6A3FD2 #D2B33F #5DD23F
monochromatic
#381D7A #4F28AC #6A3FD2 #9071DE #B7A2E9
Accessibility & contrast
On white
6.45
#6A3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#6A3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3FD2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3FD2 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#466584
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6a3fd2; /* rgb */ color: rgb(106, 63, 210); /* oklch */ color: oklch(50.6% 0.212 290.1);
Tailwind
colors: {
custom: {
50: '#9e78e1',
500: '#6a3fd2',
950: '#000000',
},
}SCSS
$custom: #6a3fd2; $custom-light: #9e78e1; $custom-dark: #000000;
JSON
{
"hex": "#6a3fd2",
"rgb": {
"r": 106,
"g": 63,
"b": 210
},
"hsl": {
"h": 257.551,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.5062,
"c": 0.21169,
"h": 290.1
},
"luminance": 0.11272
}Semantic roles & 50–950 ramp
primary
#6A3FD2
secondary
#C3D697
accent
#E543B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83