#6338C3#6338C3
#6338C3 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.202 H 290.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6338C3 |
|---|---|
| RGB | rgb(99, 56, 195) |
| HSL | hsl(259, 55%, 49%) |
| HSV | hsv(259, 71%, 76%) |
| CMYK | cmyk(49.2%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(36.78, 50.89, -65.90) |
| CIE-LCH | lch(36.78, 83.26, 307.68°) |
| OKLab | oklab(47.75% 0.0721 -0.1891) |
| OKLCH | oklch(47.75% 0.202 290.9) |
| XYZ | xyz(16.4073, 9.4205, 52.5730) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.21
Blurple
#5539CC
ΔE00 2.45
Blue With A Hint Of Purple
#533CC6
ΔE00 2.69
Purple Blue
#5D21D0
ΔE00 4.13
Burple
#6832E3
ΔE00 4.15
Purpley Blue
#5F34E7
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6338C3 #98C338
analogous
#3853C3 #6338C3 #A938C3
triadic
#6338C3 #C36338 #38C363
tetradic
#6338C3 #C33853 #98C338 #38C3A9
square
#6338C3 #C33853 #98C338 #38C3A9
split-complementary
#6338C3 #C3A938 #53C338
monochromatic
#331D64 #4B2A93 #6338C3 #8765D3 #AC95E1
Accessibility & contrast
On white
7.28
#6338C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#6338C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6338C3
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6338C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6338C3 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#435C7A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #6338c3; /* rgb */ color: rgb(99, 56, 195); /* oklch */ color: oklch(47.8% 0.202 290.9);
Tailwind
colors: {
custom: {
50: '#9872d6',
500: '#6338c3',
950: '#000000',
},
}SCSS
$custom: #6338c3; $custom-light: #9872d6; $custom-dark: #000000;
JSON
{
"hex": "#6338c3",
"rgb": {
"r": 99,
"g": 56,
"b": 195
},
"hsl": {
"h": 258.561,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.47751,
"c": 0.20236,
"h": 290.9
},
"luminance": 0.09421
}Semantic roles & 50–950 ramp
primary
#6338C3
secondary
#B8CC8B
accent
#DF49B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83