#6336B2#6336B2
#6336B2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.185 H 294.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6336B2 |
|---|---|
| RGB | rgb(99, 54, 178) |
| HSL | hsl(262, 53%, 45%) |
| HSV | hsv(262, 70%, 70%) |
| CMYK | cmyk(44.4%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(35.01, 47.27, -58.77) |
| CIE-LCH | lch(35.01, 75.42, 308.81°) |
| OKLab | oklab(46.06% 0.0772 -0.1681) |
| OKLCH | oklch(46.06% 0.185 294.7) |
| XYZ | xyz(14.4985, 8.5050, 42.9886) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.15
Blue With A Hint Of Purple
#533CC6
ΔE00 4.29
Rebeccapurple
#663399
ΔE00 4.32
Blurple
#5539CC
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.87
Purple Blue
#5D21D0
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6336B2 #85B236
analogous
#3647B2 #6336B2 #A136B2
triadic
#6336B2 #B26336 #36B263
tetradic
#6336B2 #B23647 #85B236 #36B2A1
square
#6336B2 #B23647 #85B236 #36B2A1
split-complementary
#6336B2 #B2A136 #47B236
monochromatic
#2F1A54 #492883 #6336B2 #8359CD #A688DB
Accessibility & contrast
On white
7.77
#6336B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6336B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6336B2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6336B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6336B2 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#4D5570
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6336b2; /* rgb */ color: rgb(99, 54, 178); /* oklch */ color: oklch(46.1% 0.185 294.7);
Tailwind
colors: {
custom: {
50: '#9670ca',
500: '#6336b2',
950: '#000000',
},
}SCSS
$custom: #6336b2; $custom-light: #9670ca; $custom-dark: #000000;
JSON
{
"hex": "#6336b2",
"rgb": {
"r": 99,
"g": 54,
"b": 178
},
"hsl": {
"h": 261.774,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.46058,
"c": 0.185,
"h": 294.7
},
"luminance": 0.08505
}Semantic roles & 50–950 ramp
primary
#6336B2
secondary
#ABC57F
accent
#DD4BA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82