#6349E4#6349E4
#6349E4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.222 H 283.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6349E4 |
|---|---|
| RGB | rgb(99, 73, 228) |
| HSL | hsl(250, 74%, 59%) |
| HSV | hsv(250, 68%, 89%) |
| CMYK | cmyk(56.6%, 68%, 0%, 10.6%) |
| CIE-LAB | lab(42.79, 51.38, -75.08) |
| CIE-LCH | lch(42.79, 90.98, 304.38°) |
| OKLab | oklab(52.9% 0.0516 -0.2161) |
| OKLCH | oklch(52.9% 0.222 283.4) |
| XYZ | xyz(21.5274, 13.0178, 74.7621) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.16
Bluish Purple
#703BE7
ΔE00 3.38
Purpley Blue
#5F34E7
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 4.58
Burple
#6832E3
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6349E4 #CAE449
analogous
#497CE4 #6349E4 #B149E4
triadic
#6349E4 #E46349 #49E463
tetradic
#6349E4 #E4497C #CAE449 #49E4B1
square
#6349E4 #E4497C #CAE449 #49E4B1
split-complementary
#6349E4 #E4B149 #7CE449
monochromatic
#2D179C #3D1FD1 #6349E4 #917EEC #BEB4F4
Accessibility & contrast
On white
5.83
#6349E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#6349E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6349E4
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6349E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6349E4 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#1E7291
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6349e4; /* rgb */ color: rgb(99, 73, 228); /* oklch */ color: oklch(52.9% 0.222 283.4);
Tailwind
colors: {
custom: {
50: '#9c7eee',
500: '#6349e4',
950: '#000000',
},
}SCSS
$custom: #6349e4; $custom-light: #9c7eee; $custom-dark: #000000;
JSON
{
"hex": "#6349e4",
"rgb": {
"r": 99,
"g": 73,
"b": 228
},
"hsl": {
"h": 250.065,
"s": 74.163,
"l": 59.02
},
"oklch": {
"l": 0.52895,
"c": 0.22215,
"h": 283.4
},
"luminance": 0.13019
}Semantic roles & 50–950 ramp
primary
#6349E4
secondary
#D9E3A6
accent
#F137D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84