#6336C2#6336C2
#6336C2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.203 H 291.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6336C2 |
|---|---|
| RGB | rgb(99, 54, 194) |
| HSL | hsl(259, 56%, 49%) |
| HSV | hsv(259, 72%, 76%) |
| CMYK | cmyk(49%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(36.34, 51.62, -66.04) |
| CIE-LCH | lch(36.34, 83.82, 308.01°) |
| OKLab | oklab(47.41% 0.074 -0.1895) |
| OKLCH | oklch(47.41% 0.203 291.3) |
| XYZ | xyz(16.1996, 9.1854, 51.9479) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.62
Bluey Purple
#6241C7
ΔE00 2.67
Blue With A Hint Of Purple
#533CC6
ΔE00 2.91
Purple Blue
#5D21D0
ΔE00 3.81
Burple
#6832E3
ΔE00 4.28
Purpley Blue
#5F34E7
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6336C2 #95C236
analogous
#364FC2 #6336C2 #A936C2
triadic
#6336C2 #C26336 #36C263
tetradic
#6336C2 #C2364F #95C236 #36C2A9
square
#6336C2 #C2364F #95C236 #36C2A9
split-complementary
#6336C2 #C2A936 #4FC236
monochromatic
#321B62 #4B2992 #6336C2 #8662D3 #AB92E1
Accessibility & contrast
On white
7.40
#6336C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#6336C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6336C2
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6336C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6336C2 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#445B79
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #6336c2; /* rgb */ color: rgb(99, 54, 194); /* oklch */ color: oklch(47.4% 0.203 291.3);
Tailwind
colors: {
custom: {
50: '#9871d6',
500: '#6336c2',
950: '#000000',
},
}SCSS
$custom: #6336c2; $custom-light: #9871d6; $custom-dark: #000000;
JSON
{
"hex": "#6336c2",
"rgb": {
"r": 99,
"g": 54,
"b": 194
},
"hsl": {
"h": 259.286,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.47411,
"c": 0.20344,
"h": 291.3
},
"luminance": 0.09186
}Semantic roles & 50–950 ramp
primary
#6336C2
secondary
#B6CC88
accent
#E048AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83