#5736AA#5736AA

#5736AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.175 H 290.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5736AA
RGBrgb(87, 54, 170)
HSLhsl(257, 52%, 44%)
HSVhsv(257, 68%, 67%)
CMYKcmyk(48.8%, 68.2%, 0%, 33.3%)
CIE-LABlab(33.06, 42.81, -57.23)
CIE-LCHlch(33.06, 71.47, 306.80°)
OKLaboklab(44.16% 0.0612 -0.164)
OKLCHoklch(44.16% 0.175 290.5)
XYZxyz(12.5033, 7.5664, 38.8241)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736AA #89AA36
analogous
#364FAA #5736AA #9136AA
triadic
#5736AA #AA5736 #36AA57
tetradic
#5736AA #AA364F #89AA36 #36AA91
square
#5736AA #AA364F #89AA36 #36AA91
split-complementary
#5736AA #AA9136 #4FAA36
monochromatic
#27184D #3F277C #5736AA #7654C9 #9B83D8

Accessibility & contrast

On white

8.36
#5736AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5736AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5736AA#FFFFFF#000000##FFFFFF
##5736AA1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#3C536B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5736aa;
/* rgb */ color: rgb(87, 54, 170);
/* oklch */ color: oklch(44.2% 0.175 290.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fc4',
    500: '#5736aa',
    950: '#000000',
  },
}
SCSS
$custom: #5736aa;
$custom-light: #8e6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5736aa",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 257.069,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.17508,
    "h": 290.5
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#5736AA
secondary
#ADC17B
accent
#DB4DB3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5736AA

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

Preview Lab → · Contrast checker → · Palette generator →

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