#6337C4#6337C4
#6337C4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.205 H 290.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6337C4 |
|---|---|
| RGB | rgb(99, 55, 196) |
| HSL | hsl(259, 56%, 49%) |
| HSV | hsv(259, 72%, 77%) |
| CMYK | cmyk(49.5%, 71.9%, 0%, 23.1%) |
| CIE-LAB | lab(36.69, 51.67, -66.64) |
| CIE-LCH | lch(36.69, 84.33, 307.79°) |
| OKLab | oklab(47.71% 0.0727 -0.1913) |
| OKLCH | oklch(47.71% 0.205 290.8) |
| XYZ | xyz(16.4727, 9.3699, 53.1545) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.36
Blurple
#5539CC
ΔE00 2.41
Blue With A Hint Of Purple
#533CC6
ΔE00 2.73
Purple Blue
#5D21D0
ΔE00 3.90
Burple
#6832E3
ΔE00 4.01
Purpley Blue
#5F34E7
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6337C4 #98C437
analogous
#3752C4 #6337C4 #A937C4
triadic
#6337C4 #C46337 #37C463
tetradic
#6337C4 #C43752 #98C437 #37C4A9
square
#6337C4 #C43752 #98C437 #37C4A9
split-complementary
#6337C4 #C4A937 #52C437
monochromatic
#331C64 #4B2A94 #6337C4 #8765D4 #AC94E1
Accessibility & contrast
On white
7.31
#6337C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#6337C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6337C4
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6337C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6337C4 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#425C7A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6337c4; /* rgb */ color: rgb(99, 55, 196); /* oklch */ color: oklch(47.7% 0.205 290.8);
Tailwind
colors: {
custom: {
50: '#9872d7',
500: '#6337c4',
950: '#000000',
},
}SCSS
$custom: #6337c4; $custom-light: #9872d7; $custom-dark: #000000;
JSON
{
"hex": "#6337c4",
"rgb": {
"r": 99,
"g": 55,
"b": 196
},
"hsl": {
"h": 258.723,
"s": 56.175,
"l": 49.216
},
"oklch": {
"l": 0.47711,
"c": 0.20462,
"h": 290.8
},
"luminance": 0.09371
}Semantic roles & 50–950 ramp
primary
#6337C4
secondary
#B8CC8B
accent
#DF48B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83