#5336BC#5336BC

#5336BC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.197 H 285.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5336BC
RGBrgb(83, 54, 188)
HSLhsl(253, 55%, 47%)
HSVhsv(253, 71%, 74%)
CMYKcmyk(55.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(34.21, 47.41, -66.07)
CIE-LCHlch(34.21, 81.32, 305.66°)
OKLaboklab(45.36% 0.0522 -0.1901)
OKLCHoklch(45.36% 0.197 285.4)
XYZxyz(13.9608, 8.1074, 48.3964)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336BC #9FBC36
analogous
#365CBC #5336BC #9636BC
triadic
#5336BC #BC5336 #36BC53
tetradic
#5336BC #BC365C #9FBC36 #36BC96
square
#5336BC #BC365C #9FBC36 #36BC96
split-complementary
#5336BC #BC9636 #5CBC36
monochromatic
#291B5D #3E288C #5336BC #775ED1 #9F8EDF

Accessibility & contrast

On white

8.01
#5336BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5336BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336BC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336BC#FFFFFF#000000##FFFFFF
##5336BC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#225A75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5336bc;
/* rgb */ color: rgb(83, 54, 188);
/* oklch */ color: oklch(45.4% 0.197 285.4);
Tailwind
colors: {
  custom: {
    50: '#8e70d1',
    500: '#5336bc',
    950: '#000000',
  },
}
SCSS
$custom: #5336bc;
$custom-light: #8e70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5336bc",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 252.985,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.19716,
    "h": 285.4
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#5336BC
secondary
#BAC985
accent
#DF49BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5336BC

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

Preview Lab → · Contrast checker → · Palette generator →

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