#5736AF#5736AF

#5736AF is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.181 H 289.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5736AF
RGBrgb(87, 54, 175)
HSLhsl(256, 53%, 45%)
HSVhsv(256, 69%, 69%)
CMYKcmyk(50.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(33.48, 44.26, -59.54)
CIE-LCHlch(33.48, 74.19, 306.62°)
OKLaboklab(44.58% 0.0604 -0.1708)
OKLCHoklch(44.58% 0.181 289.5)
XYZxyz(12.9853, 7.7592, 41.3626)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736AF #8EAF36
analogous
#3651AF #5736AF #9436AF
triadic
#5736AF #AF5736 #36AF57
tetradic
#5736AF #AF3651 #8EAF36 #36AF94
square
#5736AF #AF3651 #8EAF36 #36AF94
split-complementary
#5736AF #AF9436 #51AF36
monochromatic
#281951 #402880 #5736AF #7757CB #9D86DA

Accessibility & contrast

On white

8.23
#5736AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5736AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736AF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736AF#FFFFFF#000000##FFFFFF
##5736AF1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#38556E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5736af;
/* rgb */ color: rgb(87, 54, 175);
/* oklch */ color: oklch(44.6% 0.181 289.5);
Tailwind
colors: {
  custom: {
    50: '#8f70c8',
    500: '#5736af',
    950: '#000000',
  },
}
SCSS
$custom: #5736af;
$custom-light: #8f70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5736af",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 256.364,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.18119,
    "h": 289.5
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5736AF

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

Preview Lab → · Contrast checker → · Palette generator →

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