#6A3FCC#6A3FCC
#6A3FCC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.205 H 291.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3FCC |
|---|---|
| RGB | rgb(106, 63, 204) |
| HSL | hsl(258, 58%, 52%) |
| HSV | hsv(258, 69%, 80%) |
| CMYK | cmyk(48%, 69.1%, 0%, 20%) |
| CIE-LAB | lab(39.54, 50.97, -66.60) |
| CIE-LCH | lch(39.54, 83.86, 307.43°) |
| OKLab | oklab(50.12% 0.0739 -0.1909) |
| OKLCH | oklch(50.12% 0.205 291.2) |
| XYZ | xyz(18.6174, 10.9781, 58.2531) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.50
Blurple
#5539CC
ΔE00 3.45
Burple
#6832E3
ΔE00 3.48
Bluish Purple
#703BE7
ΔE00 3.58
Blue With A Hint Of Purple
#533CC6
ΔE00 3.71
Purpley Blue
#5F34E7
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3FCC #A1CC3F
analogous
#3F5ACC #6A3FCC #B13FCC
triadic
#6A3FCC #CC6A3F #3FCC6A
tetradic
#6A3FCC #CC3F5A #A1CC3F #3FCCB1
square
#6A3FCC #CC3F5A #A1CC3F #3FCCB1
split-complementary
#6A3FCC #CCB13F #5ACC3F
monochromatic
#381E72 #502BA3 #6A3FCC #906FD9 #B5A0E6
Accessibility & contrast
On white
6.57
#6A3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#6A3FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3FCC
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3FCC | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#4A6381
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6a3fcc; /* rgb */ color: rgb(106, 63, 204); /* oklch */ color: oklch(50.1% 0.205 291.2);
Tailwind
colors: {
custom: {
50: '#9d77dd',
500: '#6a3fcc',
950: '#000000',
},
}SCSS
$custom: #6a3fcc; $custom-light: #9d77dd; $custom-dark: #000000;
JSON
{
"hex": "#6a3fcc",
"rgb": {
"r": 106,
"g": 63,
"b": 204
},
"hsl": {
"h": 258.298,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.50119,
"c": 0.20475,
"h": 291.2
},
"luminance": 0.10979
}Semantic roles & 50–950 ramp
primary
#6A3FCC
secondary
#BFD295
accent
#E147B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83