#6339C4#6339C4
#6339C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.202 H 290.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6339C4 |
|---|---|
| RGB | rgb(99, 57, 196) |
| HSL | hsl(258, 55%, 50%) |
| HSV | hsv(258, 71%, 77%) |
| CMYK | cmyk(49.5%, 70.9%, 0%, 23.1%) |
| CIE-LAB | lab(37.05, 50.66, -66.05) |
| CIE-LCH | lch(37.05, 83.24, 307.49°) |
| OKLab | oklab(47.97% 0.071 -0.1895) |
| OKLCH | oklch(47.97% 0.202 290.5) |
| XYZ | xyz(16.5697, 9.5638, 53.1868) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.95
Blurple
#5539CC
ΔE00 2.35
Blue With A Hint Of Purple
#533CC6
ΔE00 2.58
Burple
#6832E3
ΔE00 4.04
Purple Blue
#5D21D0
ΔE00 4.29
Purpley Blue
#5F34E7
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6339C4 #9AC439
analogous
#3955C4 #6339C4 #A839C4
triadic
#6339C4 #C46339 #39C463
tetradic
#6339C4 #C43955 #9AC439 #39C4A8
square
#6339C4 #C43955 #9AC439 #39C4A8
split-complementary
#6339C4 #C4A839 #55C439
monochromatic
#331D65 #4B2B95 #6339C4 #8867D3 #AD97E1
Accessibility & contrast
On white
7.21
#6339C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#6339C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6339C4
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6339C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6339C4 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#425D7B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #6339c4; /* rgb */ color: rgb(99, 57, 196); /* oklch */ color: oklch(48.0% 0.202 290.5);
Tailwind
colors: {
custom: {
50: '#9873d7',
500: '#6339c4',
950: '#000000',
},
}SCSS
$custom: #6339c4; $custom-light: #9873d7; $custom-dark: #000000;
JSON
{
"hex": "#6339c4",
"rgb": {
"r": 99,
"g": 57,
"b": 196
},
"hsl": {
"h": 258.129,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.47967,
"c": 0.20239,
"h": 290.5
},
"luminance": 0.09564
}Semantic roles & 50–950 ramp
primary
#6339C4
secondary
#B9CC8D
accent
#DE4AB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83