#5336CD#5336CD

#5336CD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.217 H 282.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5336CD
RGBrgb(83, 54, 205)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 74%, 80%)
CMYKcmyk(59.5%, 73.7%, 0%, 19.6%)
CIE-LABlab(35.76, 52.41, -73.46)
CIE-LCHlch(35.76, 90.24, 305.51°)
OKLaboklab(46.93% 0.0486 -0.2117)
OKLCHoklch(46.93% 0.217 282.9)
XYZxyz(15.9025, 8.8840, 58.6226)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336CD #B0CD36
analogous
#3664CD #5336CD #9E36CD
triadic
#5336CD #CD5336 #36CD53
tetradic
#5336CD #CD3664 #B0CD36 #36CD9E
square
#5336CD #CD3664 #B0CD36 #36CD9E
split-complementary
#5336CD #CD9E36 #64CD36
monochromatic
#2B1B6D #3E279E #5336CD #7D67D9 #A798E5

Accessibility & contrast

On white

7.56
#5336CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5336CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336CD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336CD#FFFFFF#000000##FFFFFF
##5336CD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5336cd;
/* rgb */ color: rgb(83, 54, 205);
/* oklch */ color: oklch(46.9% 0.217 282.9);
Tailwind
colors: {
  custom: {
    50: '#9170de',
    500: '#5336cd',
    950: '#000000',
  },
}
SCSS
$custom: #5336cd;
$custom-light: #9170de;
$custom-dark: #000000;
JSON
{
  "hex": "#5336cd",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 251.523,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.21724,
    "h": 282.9
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#5336CD
secondary
#C4D18E
accent
#E344C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5336CD

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

Preview Lab → · Contrast checker → · Palette generator →

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