#6A3BCC#6A3BCC
#6A3BCC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.209 H 291.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3BCC |
|---|---|
| RGB | rgb(106, 59, 204) |
| HSL | hsl(259, 59%, 52%) |
| HSV | hsv(259, 71%, 80%) |
| CMYK | cmyk(48%, 71.1%, 0%, 20%) |
| CIE-LAB | lab(38.81, 53.00, -67.79) |
| CIE-LCH | lch(38.81, 86.05, 308.02°) |
| OKLab | oklab(49.6% 0.0776 -0.1944) |
| OKLCH | oklch(49.6% 0.209 291.8) |
| XYZ | xyz(18.4038, 10.5511, 58.1819) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.91
Burple
#6832E3
ΔE00 3.08
Blurple
#5539CC
ΔE00 3.19
Blue With A Hint Of Purple
#533CC6
ΔE00 3.61
Bluish Purple
#703BE7
ΔE00 3.68
Purpley Blue
#5F34E7
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3BCC #9DCC3B
analogous
#3B55CC #6A3BCC #B23BCC
triadic
#6A3BCC #CC6A3B #3BCC6A
tetradic
#6A3BCC #CC3B55 #9DCC3B #3BCCB2
square
#6A3BCC #CC3B55 #9DCC3B #3BCCB2
split-complementary
#6A3BCC #CCB23B #55CC3B
monochromatic
#381D70 #502AA0 #6A3BCC #8F6CD9 #B49CE5
Accessibility & contrast
On white
6.75
#6A3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#6A3BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3BCC
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3BCC | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4B6180
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #6a3bcc; /* rgb */ color: rgb(106, 59, 204); /* oklch */ color: oklch(49.6% 0.209 291.8);
Tailwind
colors: {
custom: {
50: '#9d75dd',
500: '#6a3bcc',
950: '#000000',
},
}SCSS
$custom: #6a3bcc; $custom-light: #9d75dd; $custom-dark: #000000;
JSON
{
"hex": "#6a3bcc",
"rgb": {
"r": 106,
"g": 59,
"b": 204
},
"hsl": {
"h": 259.448,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.49599,
"c": 0.20933,
"h": 291.8
},
"luminance": 0.10552
}Semantic roles & 50–950 ramp
primary
#6A3BCC
secondary
#BDD192
accent
#E246AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83