#5736B2#5736B2

#5736B2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.185 H 288.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5736B2
RGBrgb(87, 54, 178)
HSLhsl(256, 53%, 45%)
HSVhsv(256, 70%, 70%)
CMYKcmyk(51.1%, 69.7%, 0%, 30.2%)
CIE-LABlab(33.73, 45.13, -60.92)
CIE-LCHlch(33.73, 75.81, 306.53°)
OKLaboklab(44.84% 0.0599 -0.1749)
OKLCHoklch(44.84% 0.185 288.9)
XYZxyz(13.2832, 7.8783, 42.9316)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736B2 #91B236
analogous
#3653B2 #5736B2 #9536B2
triadic
#5736B2 #B25736 #36B257
tetradic
#5736B2 #B23653 #91B236 #36B295
square
#5736B2 #B23653 #91B236 #36B295
split-complementary
#5736B2 #B29536 #53B236
monochromatic
#291A54 #402883 #5736B2 #7859CD #9E88DB

Accessibility & contrast

On white

8.15
#5736B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5736B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736B2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736B2#FFFFFF#000000##FFFFFF
##5736B21.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#365670
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5736b2;
/* rgb */ color: rgb(87, 54, 178);
/* oklch */ color: oklch(44.8% 0.185 288.9);
Tailwind
colors: {
  custom: {
    50: '#8f70ca',
    500: '#5736b2',
    950: '#000000',
  },
}
SCSS
$custom: #5736b2;
$custom-light: #8f70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5736b2",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 255.968,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.18483,
    "h": 288.9
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#5736B2
secondary
#B2C57F
accent
#DD4BB6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5736B2

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

Preview Lab → · Contrast checker → · Palette generator →

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