#6337C2#6337C2
#6337C2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.202 H 291.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6337C2 |
|---|---|
| RGB | rgb(99, 55, 194) |
| HSL | hsl(259, 56%, 49%) |
| HSV | hsv(259, 72%, 76%) |
| CMYK | cmyk(49%, 71.6%, 0%, 23.9%) |
| CIE-LAB | lab(36.52, 51.12, -65.75) |
| CIE-LCH | lch(36.52, 83.28, 307.87°) |
| OKLab | oklab(47.54% 0.0732 -0.1886) |
| OKLCH | oklch(47.54% 0.202 291.2) |
| XYZ | xyz(16.2466, 9.2794, 51.9636) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.47
Blurple
#5539CC
ΔE00 2.57
Blue With A Hint Of Purple
#533CC6
ΔE00 2.81
Purple Blue
#5D21D0
ΔE00 3.99
Burple
#6832E3
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6337C2 #96C237
analogous
#3751C2 #6337C2 #A937C2
triadic
#6337C2 #C26337 #37C263
tetradic
#6337C2 #C23751 #96C237 #37C2A9
square
#6337C2 #C23751 #96C237 #37C2A9
split-complementary
#6337C2 #C2A937 #51C237
monochromatic
#321C63 #4B2992 #6337C2 #8763D3 #AC93E0
Accessibility & contrast
On white
7.35
#6337C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#6337C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6337C2
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6337C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6337C2 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#445B79
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6337c2; /* rgb */ color: rgb(99, 55, 194); /* oklch */ color: oklch(47.5% 0.202 291.2);
Tailwind
colors: {
custom: {
50: '#9872d6',
500: '#6337c2',
950: '#000000',
},
}SCSS
$custom: #6337c2; $custom-light: #9872d6; $custom-dark: #000000;
JSON
{
"hex": "#6337c2",
"rgb": {
"r": 99,
"g": 55,
"b": 194
},
"hsl": {
"h": 258.993,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.47538,
"c": 0.20233,
"h": 291.2
},
"luminance": 0.0928
}Semantic roles & 50–950 ramp
primary
#6337C2
secondary
#B7CB89
accent
#DF49B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83