#5336C0#5336C0

#5336C0 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.7% C 0.202 H 284.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5336C0
RGBrgb(83, 54, 192)
HSLhsl(253, 56%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56.8%, 71.9%, 0%, 24.7%)
CIE-LABlab(34.56, 48.59, -67.84)
CIE-LCHlch(34.56, 83.44, 305.61°)
OKLaboklab(45.72% 0.0514 -0.1953)
OKLCHoklch(45.72% 0.202 284.8)
XYZxyz(14.3980, 8.2822, 50.6989)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336C0 #A3C036
analogous
#365EC0 #5336C0 #9836C0
triadic
#5336C0 #C05336 #36C053
tetradic
#5336C0 #C0365E #A3C036 #36C098
square
#5336C0 #C0365E #A3C036 #36C098
split-complementary
#5336C0 #C09836 #5EC036
monochromatic
#2A1B60 #3E2990 #5336C0 #7961D2 #A190E0

Accessibility & contrast

On white

7.90
#5336C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5336C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336C0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336C0#FFFFFF#000000##FFFFFF
##5336C01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#1C5B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5336c0;
/* rgb */ color: rgb(83, 54, 192);
/* oklch */ color: oklch(45.7% 0.202 284.8);
Tailwind
colors: {
  custom: {
    50: '#8f70d4',
    500: '#5336c0',
    950: '#000000',
  },
}
SCSS
$custom: #5336c0;
$custom-light: #8f70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5336c0",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 252.609,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.20194,
    "h": 284.8
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#5336C0
secondary
#BCCB87
accent
#DF48C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5336C0

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

Preview Lab → · Contrast checker → · Palette generator →

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