#5333C8#5333C8

#5333C8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.214 H 284.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5333C8
RGBrgb(83, 51, 200)
HSLhsl(253, 59%, 49%)
HSVhsv(253, 75%, 78%)
CMYKcmyk(58.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(34.75, 52.47, -72.21)
CIE-LCHlch(34.75, 89.26, 306.01°)
OKLaboklab(46.08% 0.0518 -0.208)
OKLCHoklch(46.08% 0.214 284)
XYZxyz(15.1732, 8.3758, 55.4495)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333C8 #A8C833
analogous
#335EC8 #5333C8 #9E33C8
triadic
#5333C8 #C85333 #33C853
tetradic
#5333C8 #C8335E #A8C833 #33C89E
square
#5333C8 #C8335E #A8C833 #33C89E
split-complementary
#5333C8 #C89E33 #5EC833
monochromatic
#2B1A66 #3F2797 #5333C8 #7B61D7 #A492E3

Accessibility & contrast

On white

7.85
#5333C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5333C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333C8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333C8#FFFFFF#000000##FFFFFF
##5333C81.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#095D7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5333c8;
/* rgb */ color: rgb(83, 51, 200);
/* oklch */ color: oklch(46.1% 0.214 284.0);
Tailwind
colors: {
  custom: {
    50: '#906eda',
    500: '#5333c8',
    950: '#000000',
  },
}
SCSS
$custom: #5333c8;
$custom-light: #906eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5333c8",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 252.886,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.21441,
    "h": 284
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#5333C8
secondary
#BFCE89
accent
#E345C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5333C8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5333C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva