#5736C0#5736C0

#5736C0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.202 H 286.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5736C0
RGBrgb(87, 54, 192)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(54.7%, 71.9%, 0%, 24.7%)
CIE-LABlab(34.94, 49.18, -67.20)
CIE-LCHlch(34.94, 83.28, 306.20°)
OKLaboklab(46.08% 0.0571 -0.1933)
OKLCHoklch(46.08% 0.202 286.5)
XYZxyz(14.7612, 8.4695, 50.7159)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736C0 #9FC036
analogous
#365AC0 #5736C0 #9C36C0
triadic
#5736C0 #C05736 #36C057
tetradic
#5736C0 #C0365A #9FC036 #36C09C
square
#5736C0 #C0365A #9FC036 #36C09C
split-complementary
#5736C0 #C09C36 #5AC036
monochromatic
#2C1B60 #412990 #5736C0 #7C61D2 #A390E0

Accessibility & contrast

On white

7.80
#5736C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5736C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736C0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736C0#FFFFFF#000000##FFFFFF
##5736C01.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#295B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5736c0;
/* rgb */ color: rgb(87, 54, 192);
/* oklch */ color: oklch(46.1% 0.202 286.5);
Tailwind
colors: {
  custom: {
    50: '#9170d4',
    500: '#5736c0',
    950: '#000000',
  },
}
SCSS
$custom: #5736c0;
$custom-light: #9170d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5736c0",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 254.348,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.20156,
    "h": 286.5
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#5736C0
secondary
#BBCB87
accent
#DF48BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5736C0

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

Preview Lab → · Contrast checker → · Palette generator →

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