#5736AE#5736AE

#5736AE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.180 H 289.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5736AE
RGBrgb(87, 54, 174)
HSLhsl(257, 53%, 45%)
HSVhsv(257, 69%, 68%)
CMYKcmyk(50%, 69%, 0%, 31.8%)
CIE-LABlab(33.39, 43.97, -59.08)
CIE-LCHlch(33.39, 73.65, 306.66°)
OKLaboklab(44.5% 0.0606 -0.1695)
OKLCHoklch(44.5% 0.18 289.7)
XYZxyz(12.8874, 7.7200, 40.8473)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736AE #8DAE36
analogous
#3651AE #5736AE #9336AE
triadic
#5736AE #AE5736 #36AE57
tetradic
#5736AE #AE3651 #8DAE36 #36AE93
square
#5736AE #AE3651 #8DAE36 #36AE93
split-complementary
#5736AE #AE9336 #51AE36
monochromatic
#281951 #40287F #5736AE #7656CB #9C85D9

Accessibility & contrast

On white

8.25
#5736AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5736AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736AE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736AE#FFFFFF#000000##FFFFFF
##5736AE1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#39546E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5736ae;
/* rgb */ color: rgb(87, 54, 174);
/* oklch */ color: oklch(44.5% 0.180 289.7);
Tailwind
colors: {
  custom: {
    50: '#8e70c7',
    500: '#5736ae',
    950: '#000000',
  },
}
SCSS
$custom: #5736ae;
$custom-light: #8e70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5736ae",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 256.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.17997,
    "h": 289.7
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#5736AE
secondary
#B0C37D
accent
#DC4CB4
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5736AE

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

Preview Lab → · Contrast checker → · Palette generator →

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