#5736B5#5736B5

#5736B5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.188 H 288.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5736B5
RGBrgb(87, 54, 181)
HSLhsl(256, 54%, 46%)
HSVhsv(256, 70%, 71%)
CMYKcmyk(51.9%, 70.2%, 0%, 29%)
CIE-LABlab(33.98, 46.00, -62.28)
CIE-LCHlch(33.98, 77.43, 306.45°)
OKLaboklab(45.1% 0.0593 -0.1789)
OKLCHoklch(45.1% 0.188 288.4)
XYZxyz(13.5877, 8.0001, 44.5353)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736B5 #94B536
analogous
#3654B5 #5736B5 #9636B5
triadic
#5736B5 #B55736 #36B557
tetradic
#5736B5 #B53654 #94B536 #36B596
square
#5736B5 #B53654 #94B536 #36B596
split-complementary
#5736B5 #B59636 #54B536
monochromatic
#2A1A57 #402886 #5736B5 #785ACE #9F89DC

Accessibility & contrast

On white

8.08
#5736B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5736B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736B5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736B5#FFFFFF#000000##FFFFFF
##5736B51.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#345771
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5736b5;
/* rgb */ color: rgb(87, 54, 181);
/* oklch */ color: oklch(45.1% 0.188 288.4);
Tailwind
colors: {
  custom: {
    50: '#8f70cc',
    500: '#5736b5',
    950: '#000000',
  },
}
SCSS
$custom: #5736b5;
$custom-light: #8f70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5736b5",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 255.591,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.18845,
    "h": 288.4
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#5736B5
secondary
#B4C681
accent
#DD4AB7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5736B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5736B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva