#6338CE#6338CE
#6338CE is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.215 H 288.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6338CE |
|---|---|
| RGB | rgb(99, 56, 206) |
| HSL | hsl(257, 60%, 51%) |
| HSV | hsv(257, 73%, 81%) |
| CMYK | cmyk(51.9%, 72.8%, 0%, 19.2%) |
| CIE-LAB | lab(37.73, 53.93, -70.75) |
| CIE-LCH | lch(37.73, 88.96, 307.31°) |
| OKLab | oklab(48.71% 0.0697 -0.2033) |
| OKLCH | oklch(48.71% 0.215 288.9) |
| XYZ | xyz(17.6971, 9.9364, 59.3660) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.06
Bluey Purple
#6241C7
ΔE00 2.11
Blue With A Hint Of Purple
#533CC6
ΔE00 2.72
Burple
#6832E3
ΔE00 2.75
Purpley Blue
#5F34E7
ΔE00 3.09
Purple Blue
#5D21D0
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6338CE #A3CE38
analogous
#3858CE #6338CE #AE38CE
triadic
#6338CE #CE6338 #38CE63
tetradic
#6338CE #CE3858 #A3CE38 #38CEAE
square
#6338CE #CE3858 #A3CE38 #38CEAE
split-complementary
#6338CE #CEAE38 #58CE38
monochromatic
#341C70 #4A28A1 #6338CE #8969DA #B09AE6
Accessibility & contrast
On white
7.03
#6338CE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#6338CE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6338CE
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6338CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6338CE | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#3B6080
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6338ce; /* rgb */ color: rgb(99, 56, 206); /* oklch */ color: oklch(48.7% 0.215 288.9);
Tailwind
colors: {
custom: {
50: '#9a73de',
500: '#6338ce',
950: '#000000',
},
}SCSS
$custom: #6338ce; $custom-light: #9a73de; $custom-dark: #000000;
JSON
{
"hex": "#6338ce",
"rgb": {
"r": 99,
"g": 56,
"b": 206
},
"hsl": {
"h": 257.2,
"s": 60.484,
"l": 51.373
},
"oklch": {
"l": 0.48713,
"c": 0.21494,
"h": 288.9
},
"luminance": 0.09937
}Semantic roles & 50–950 ramp
primary
#6338CE
secondary
#BFD290
accent
#E444B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83