#6A36C6#6A36C6
#6A36C6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.208 H 293.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6A36C6 |
|---|---|
| RGB | rgb(106, 54, 198) |
| HSL | hsl(262, 57%, 49%) |
| HSV | hsv(262, 73%, 78%) |
| CMYK | cmyk(46.5%, 72.7%, 0%, 22.4%) |
| CIE-LAB | lab(37.44, 53.84, -66.54) |
| CIE-LCH | lch(37.44, 85.59, 308.98°) |
| OKLab | oklab(48.47% 0.0833 -0.1907) |
| OKLCH | oklch(48.47% 0.208 293.6) |
| XYZ | xyz(17.4533, 9.7792, 54.3831) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.76
Blurple
#5539CC
ΔE00 3.36
Burple
#6832E3
ΔE00 3.70
Blue With A Hint Of Purple
#533CC6
ΔE00 3.79
Purple Blue
#5D21D0
ΔE00 4.12
Purpley Blue
#5F34E7
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A36C6 #92C636
analogous
#364AC6 #6A36C6 #B236C6
triadic
#6A36C6 #C66A36 #36C66A
tetradic
#6A36C6 #C6364A #92C636 #36C6B2
square
#6A36C6 #C6364A #92C636 #36C6B2
split-complementary
#6A36C6 #C6B236 #4AC636
monochromatic
#371C66 #502996 #6A36C6 #8D64D5 #B094E2
Accessibility & contrast
On white
7.10
#6A36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#6A36C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A36C6
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A36C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A36C6 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#4E5C7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6a36c6; /* rgb */ color: rgb(106, 54, 198); /* oklch */ color: oklch(48.5% 0.208 293.6);
Tailwind
colors: {
custom: {
50: '#9d72d8',
500: '#6a36c6',
950: '#000000',
},
}SCSS
$custom: #6a36c6; $custom-light: #9d72d8; $custom-dark: #000000;
JSON
{
"hex": "#6a36c6",
"rgb": {
"r": 106,
"g": 54,
"b": 198
},
"hsl": {
"h": 261.667,
"s": 57.143,
"l": 49.412
},
"oklch": {
"l": 0.48473,
"c": 0.20812,
"h": 293.6
},
"luminance": 0.0978
}Semantic roles & 50–950 ramp
primary
#6A36C6
secondary
#B5CD8B
accent
#E047A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83