#6A3FE1#6A3FE1
#6A3FE1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.229 H 287.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3FE1 |
|---|---|
| RGB | rgb(106, 63, 225) |
| HSL | hsl(256, 73%, 56%) |
| HSV | hsv(256, 72%, 88%) |
| CMYK | cmyk(52.9%, 72%, 0%, 11.8%) |
| CIE-LAB | lab(41.30, 56.75, -75.79) |
| CIE-LCH | lch(41.30, 94.68, 306.83°) |
| OKLab | oklab(51.91% 0.0698 -0.2179) |
| OKLCH | oklch(51.91% 0.229 287.8) |
| XYZ | xyz(21.3080, 12.0544, 72.4235) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.26
Purpleish Blue
#6140EF
ΔE00 2.05
Burple
#6832E3
ΔE00 2.46
Purpley Blue
#5F34E7
ΔE00 2.62
Bluey Purple
#6241C7
ΔE00 3.64
Blurple
#5539CC
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3FE1 #B6E13F
analogous
#3F65E1 #6A3FE1 #BB3FE1
triadic
#6A3FE1 #E16A3F #3FE16A
tetradic
#6A3FE1 #E13F65 #B6E13F #3FE1BB
square
#6A3FE1 #E13F65 #B6E13F #3FE1BB
split-complementary
#6A3FE1 #E1BB3F #65E13F
monochromatic
#36168F #4B1FC4 #6A3FE1 #9374E9 #BCA9F2
Accessibility & contrast
On white
6.16
#6A3FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#6A3FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3FE1
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3FE1 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#3A6B8C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6a3fe1; /* rgb */ color: rgb(106, 63, 225); /* oklch */ color: oklch(51.9% 0.229 287.8);
Tailwind
colors: {
custom: {
50: '#a078ec',
500: '#6a3fe1',
950: '#000000',
},
}SCSS
$custom: #6a3fe1; $custom-light: #a078ec; $custom-dark: #000000;
JSON
{
"hex": "#6a3fe1",
"rgb": {
"r": 106,
"g": 63,
"b": 225
},
"hsl": {
"h": 255.926,
"s": 72.973,
"l": 56.471
},
"oklch": {
"l": 0.5191,
"c": 0.2288,
"h": 287.8
},
"luminance": 0.12055
}Semantic roles & 50–950 ramp
primary
#6A3FE1
secondary
#CEDF9D
accent
#F038BF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84