#6036C2#6036C2
#6036C2 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.203 H 290.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #6036C2 |
|---|---|
| RGB | rgb(96, 54, 194) |
| HSL | hsl(258, 56%, 49%) |
| HSV | hsv(258, 72%, 76%) |
| CMYK | cmyk(50.5%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(36.02, 51.14, -66.57) |
| CIE-LCH | lch(36.02, 83.95, 307.53°) |
| OKLab | oklab(47.11% 0.0697 -0.1911) |
| OKLCH | oklch(47.11% 0.203 290) |
| XYZ | xyz(15.8778, 9.0195, 51.9328) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.26
Blue With A Hint Of Purple
#533CC6
ΔE00 2.52
Bluey Purple
#6241C7
ΔE00 2.69
Purple Blue
#5D21D0
ΔE00 3.70
Burple
#6832E3
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6036C2 #98C236
analogous
#3652C2 #6036C2 #A636C2
triadic
#6036C2 #C26036 #36C260
tetradic
#6036C2 #C23652 #98C236 #36C2A6
square
#6036C2 #C23652 #98C236 #36C2A6
split-complementary
#6036C2 #C2A636 #52C236
monochromatic
#311B62 #482992 #6036C2 #8462D3 #A992E1
Accessibility & contrast
On white
7.49
#6036C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#6036C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6036C2
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6036C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6036C2 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#3E5B79
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #6036c2; /* rgb */ color: rgb(96, 54, 194); /* oklch */ color: oklch(47.1% 0.203 290.0);
Tailwind
colors: {
custom: {
50: '#9671d6',
500: '#6036c2',
950: '#000000',
},
}SCSS
$custom: #6036c2; $custom-light: #9671d6; $custom-dark: #000000;
JSON
{
"hex": "#6036c2",
"rgb": {
"r": 96,
"g": 54,
"b": 194
},
"hsl": {
"h": 258,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.47113,
"c": 0.20346,
"h": 290
},
"luminance": 0.0902
}Semantic roles & 50–950 ramp
primary
#6036C2
secondary
#B7CC88
accent
#E048B2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83