#5335C3#5335C3
#5335C3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.207 H 284.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5335C3 |
|---|---|
| RGB | rgb(83, 53, 195) |
| HSL | hsl(253, 57%, 49%) |
| HSV | hsv(253, 73%, 76%) |
| CMYK | cmyk(57.4%, 72.8%, 0%, 23.5%) |
| CIE-LAB | lab(34.65, 50.00, -69.46) |
| CIE-LCH | lch(34.65, 85.58, 305.75°) |
| OKLab | oklab(45.86% 0.0516 -0.2) |
| OKLCH | oklch(45.86% 0.207 284.5) |
| XYZ | xyz(14.6877, 8.3244, 52.4520) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.61
Blue With A Hint Of Purple
#533CC6
ΔE00 1.71
Bluey Purple
#6241C7
ΔE00 3.61
Purple Blue
#5D21D0
ΔE00 3.71
Ocean Blue
#4F42B5
ΔE00 3.85
Purpley Blue
#5F34E7
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5335C3 #A5C335
analogous
#355EC3 #5335C3 #9A35C3
triadic
#5335C3 #C35335 #35C353
tetradic
#5335C3 #C3355E #A5C335 #35C39A
square
#5335C3 #C3355E #A5C335 #35C39A
split-complementary
#5335C3 #C39A35 #5EC335
monochromatic
#2A1B63 #3F2893 #5335C3 #7961D4 #A291E1
Accessibility & contrast
On white
7.88
#5335C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#5335C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5335C3
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5335C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5335C3 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#175C79
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5335c3; /* rgb */ color: rgb(83, 53, 195); /* oklch */ color: oklch(45.9% 0.207 284.5);
Tailwind
colors: {
custom: {
50: '#8f6fd6',
500: '#5335c3',
950: '#000000',
},
}SCSS
$custom: #5335c3; $custom-light: #8f6fd6; $custom-dark: #000000;
JSON
{
"hex": "#5335c3",
"rgb": {
"r": 83,
"g": 53,
"b": 195
},
"hsl": {
"h": 252.676,
"s": 57.258,
"l": 48.627
},
"oklch": {
"l": 0.45864,
"c": 0.20656,
"h": 284.5
},
"luminance": 0.08325
}Semantic roles & 50–950 ramp
primary
#5335C3
secondary
#BECC88
accent
#E147C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83