#5336C9#5336C9

#5336C9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.213 H 283.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5336C9
RGBrgb(83, 54, 201)
HSLhsl(252, 58%, 50%)
HSVhsv(252, 73%, 79%)
CMYKcmyk(58.7%, 73.1%, 0%, 21.2%)
CIE-LABlab(35.39, 51.24, -71.75)
CIE-LCHlch(35.39, 88.17, 305.53°)
OKLaboklab(46.55% 0.0495 -0.2067)
OKLCHoklch(46.55% 0.213 283.5)
XYZxyz(15.4258, 8.6934, 56.1121)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336C9 #ACC936
analogous
#3662C9 #5336C9 #9D36C9
triadic
#5336C9 #C95336 #36C953
tetradic
#5336C9 #C93662 #ACC936 #36C99D
square
#5336C9 #C93662 #ACC936 #36C99D
split-complementary
#5336C9 #C99D36 #62C936
monochromatic
#2B1C69 #3F2999 #5336C9 #7C66D6 #A696E3

Accessibility & contrast

On white

7.67
#5336C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5336C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336C9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336C9#FFFFFF#000000##FFFFFF
##5336C91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#045F7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5336c9;
/* rgb */ color: rgb(83, 54, 201);
/* oklch */ color: oklch(46.6% 0.213 283.5);
Tailwind
colors: {
  custom: {
    50: '#9070db',
    500: '#5336c9',
    950: '#000000',
  },
}
SCSS
$custom: #5336c9;
$custom-light: #9070db;
$custom-dark: #000000;
JSON
{
  "hex": "#5336c9",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 251.837,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.21257,
    "h": 283.5
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#5336C9
secondary
#C1CE8C
accent
#E147C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5336C9

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

Preview Lab → · Contrast checker → · Palette generator →

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