#5737AE#5737AE

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

Color values

HEX#5737AE
RGBrgb(87, 55, 174)
HSLhsl(256, 52%, 45%)
HSVhsv(256, 68%, 68%)
CMYKcmyk(50%, 68.4%, 0%, 31.8%)
CIE-LABlab(33.59, 43.42, -58.76)
CIE-LCHlch(33.59, 73.06, 306.46°)
OKLaboklab(44.64% 0.0596 -0.1685)
OKLCHoklch(44.64% 0.179 289.5)
XYZxyz(12.9345, 7.8141, 40.8629)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737AE #8EAE37
analogous
#3753AE #5737AE #9237AE
triadic
#5737AE #AE5737 #37AE57
tetradic
#5737AE #AE3753 #8EAE37 #37AE92
square
#5737AE #AE3753 #8EAE37 #37AE92
split-complementary
#5737AE #AE9237 #53AE37
monochromatic
#281A51 #40287F #5737AE #7758CA #9D86D9

Accessibility & contrast

On white

8.19
#5737AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5737AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737AE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737AE#FFFFFF#000000##FFFFFF
##5737AE1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5737ae;
/* rgb */ color: rgb(87, 55, 174);
/* oklch */ color: oklch(44.6% 0.179 289.5);
Tailwind
colors: {
  custom: {
    50: '#8e70c7',
    500: '#5737ae',
    950: '#000000',
  },
}
SCSS
$custom: #5737ae;
$custom-light: #8e70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5737ae",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 256.134,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.17875,
    "h": 289.5
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#5737AE
secondary
#B0C37E
accent
#DB4CB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5737AE

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

Preview Lab → · Contrast checker → · Palette generator →

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