#6F36CA#6F36CA
#6F36CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.213 H 294.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6F36CA |
|---|---|
| RGB | rgb(111, 54, 202) |
| HSL | hsl(263, 58%, 50%) |
| HSV | hsv(263, 73%, 79%) |
| CMYK | cmyk(45%, 73.3%, 0%, 20.8%) |
| CIE-LAB | lab(38.34, 55.70, -67.37) |
| CIE-LCH | lch(38.34, 87.42, 309.58°) |
| OKLab | oklab(49.34% 0.0896 -0.193) |
| OKLCH | oklch(49.34% 0.213 294.9) |
| XYZ | xyz(18.5325, 10.2816, 56.8738) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.10
Burple
#6832E3
ΔE00 3.35
Blurple
#5539CC
ΔE00 4.00
Bluish Purple
#703BE7
ΔE00 4.17
Purpley Blue
#5F34E7
ΔE00 4.26
Blue With A Hint Of Purple
#533CC6
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F36CA #91CA36
analogous
#3647CA #6F36CA #B936CA
triadic
#6F36CA #CA6F36 #36CA6F
tetradic
#6F36CA #CA3647 #91CA36 #36CAB9
square
#6F36CA #CA3647 #91CA36 #36CAB9
split-complementary
#6F36CA #CAB936 #47CA36
monochromatic
#3A1C6A #54299A #6F36CA #9266D7 #B497E4
Accessibility & contrast
On white
6.87
#6F36CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#6F36CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F36CA
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F36CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F36CA | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#555D7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #6f36ca; /* rgb */ color: rgb(111, 54, 202); /* oklch */ color: oklch(49.3% 0.213 294.9);
Tailwind
colors: {
custom: {
50: '#a072db',
500: '#6f36ca',
950: '#000000',
},
}SCSS
$custom: #6f36ca; $custom-light: #a072db; $custom-dark: #000000;
JSON
{
"hex": "#6f36ca",
"rgb": {
"r": 111,
"g": 54,
"b": 202
},
"hsl": {
"h": 263.108,
"s": 58.268,
"l": 50.196
},
"oklch": {
"l": 0.49341,
"c": 0.2128,
"h": 294.9
},
"luminance": 0.10282
}Semantic roles & 50–950 ramp
primary
#6F36CA
secondary
#B5CF8D
accent
#E146A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83