#5336C4#5336C4

#5336C4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.207 H 284.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5336C4
RGBrgb(83, 54, 196)
HSLhsl(252, 57%, 49%)
HSVhsv(252, 72%, 77%)
CMYKcmyk(57.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(34.93, 49.77, -69.59)
CIE-LCHlch(34.93, 85.55, 305.57°)
OKLaboklab(46.09% 0.0506 -0.2004)
OKLCHoklch(46.09% 0.207 284.2)
XYZxyz(14.8472, 8.4619, 53.0648)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336C4 #A7C436
analogous
#3660C4 #5336C4 #9A36C4
triadic
#5336C4 #C45336 #36C453
tetradic
#5336C4 #C43660 #A7C436 #36C49A
square
#5336C4 #C43660 #A7C436 #36C49A
split-complementary
#5336C4 #C49A36 #60C436
monochromatic
#2A1C64 #3F2994 #5336C4 #7A63D4 #A393E1

Accessibility & contrast

On white

7.80
#5336C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5336C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336C4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336C4#FFFFFF#000000##FFFFFF
##5336C41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#145D7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5336c4;
/* rgb */ color: rgb(83, 54, 196);
/* oklch */ color: oklch(46.1% 0.207 284.2);
Tailwind
colors: {
  custom: {
    50: '#9070d7',
    500: '#5336c4',
    950: '#000000',
  },
}
SCSS
$custom: #5336c4;
$custom-light: #9070d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5336c4",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 252.254,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46088,
    "c": 0.20668,
    "h": 284.2
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#5336C4
secondary
#BFCC89
accent
#E048C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5336C4

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

Preview Lab → · Contrast checker → · Palette generator →

#5336C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva