#5336BB#5336BB

#5336BB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.196 H 285.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5336BB
RGBrgb(83, 54, 187)
HSLhsl(253, 55%, 47%)
HSVhsv(253, 71%, 73%)
CMYKcmyk(55.6%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.12, 47.11, -65.63)
CIE-LCHlch(34.12, 80.79, 305.67°)
OKLaboklab(45.27% 0.0524 -0.1888)
OKLCHoklch(45.27% 0.196 285.5)
XYZxyz(13.8534, 8.0644, 47.8307)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336BB #9EBB36
analogous
#365BBB #5336BB #9636BB
triadic
#5336BB #BB5336 #36BB53
tetradic
#5336BB #BB365B #9EBB36 #36BB96
square
#5336BB #BB365B #9EBB36 #36BB96
split-complementary
#5336BB #BB9636 #5BBB36
monochromatic
#291B5C #3E288C #5336BB #775ED0 #9F8DDE

Accessibility & contrast

On white

8.04
#5336BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5336BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336BB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336BB#FFFFFF#000000##FFFFFF
##5336BB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#235975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5336bb;
/* rgb */ color: rgb(83, 54, 187);
/* oklch */ color: oklch(45.3% 0.196 285.5);
Tailwind
colors: {
  custom: {
    50: '#8e70d1',
    500: '#5336bb',
    950: '#000000',
  },
}
SCSS
$custom: #5336bb;
$custom-light: #8e70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5336bb",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 253.083,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.19596,
    "h": 285.5
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#5336BB
secondary
#BAC984
accent
#DF49BE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5336BB

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

Preview Lab → · Contrast checker → · Palette generator →

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