#6C36C2#6C36C2
#6C36C2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.3% C 0.204 H 295.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6C36C2 |
|---|---|
| RGB | rgb(108, 54, 194) |
| HSL | hsl(263, 56%, 49%) |
| HSV | hsv(263, 72%, 76%) |
| CMYK | cmyk(44.3%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(37.34, 53.12, -64.37) |
| CIE-LCH | lch(37.34, 83.46, 309.53°) |
| OKLab | oklab(48.35% 0.0871 -0.1843) |
| OKLCH | oklch(48.35% 0.204 295.3) |
| XYZ | xyz(17.2385, 9.7211, 51.9966) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.11
Blurple
#5539CC
ΔE00 3.90
Blue With A Hint Of Purple
#533CC6
ΔE00 4.23
Burple
#6832E3
ΔE00 4.31
Purple Blue
#5D21D0
ΔE00 4.46
Purpley Blue
#5F34E7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C36C2 #8CC236
analogous
#3646C2 #6C36C2 #B236C2
triadic
#6C36C2 #C26C36 #36C26C
tetradic
#6C36C2 #C23646 #8CC236 #36C2B2
square
#6C36C2 #C23646 #8CC236 #36C2B2
split-complementary
#6C36C2 #C2B236 #46C236
monochromatic
#371B62 #512992 #6C36C2 #8E62D3 #B092E1
Accessibility & contrast
On white
7.13
#6C36C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#6C36C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C36C2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C36C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C36C2 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#545A79
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6c36c2; /* rgb */ color: rgb(108, 54, 194); /* oklch */ color: oklch(48.3% 0.204 295.3);
Tailwind
colors: {
custom: {
50: '#9e72d5',
500: '#6c36c2',
950: '#000000',
},
}SCSS
$custom: #6c36c2; $custom-light: #9e72d5; $custom-dark: #000000;
JSON
{
"hex": "#6c36c2",
"rgb": {
"r": 108,
"g": 54,
"b": 194
},
"hsl": {
"h": 263.143,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.48347,
"c": 0.20381,
"h": 295.3
},
"luminance": 0.09722
}Semantic roles & 50–950 ramp
primary
#6C36C2
secondary
#B2CC88
accent
#E048A5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83