#5737AB#5737AB

#5737AB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.175 H 290.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#5737AB
RGBrgb(87, 55, 171)
HSLhsl(257, 51%, 44%)
HSVhsv(257, 68%, 67%)
CMYKcmyk(49.1%, 67.8%, 0%, 32.9%)
CIE-LABlab(33.35, 42.55, -57.37)
CIE-LCHlch(33.35, 71.42, 306.56°)
OKLaboklab(44.39% 0.0601 -0.1644)
OKLCHoklch(44.39% 0.175 290.1)
XYZxyz(12.6453, 7.6984, 39.3398)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737AB #8BAB37
analogous
#3751AB #5737AB #9137AB
triadic
#5737AB #AB5737 #37AB57
tetradic
#5737AB #AB3751 #8BAB37 #37AB91
square
#5737AB #AB3751 #8BAB37 #37AB91
split-complementary
#5737AB #AB9137 #51AB37
monochromatic
#28194E #3F287D #5737AB #7656C9 #9C85D8

Accessibility & contrast

On white

8.27
#5737AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5737AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737AB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737AB#FFFFFF#000000##FFFFFF
##5737AB1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#3B546C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5737ab;
/* rgb */ color: rgb(87, 55, 171);
/* oklch */ color: oklch(44.4% 0.175 290.1);
Tailwind
colors: {
  custom: {
    50: '#8e70c5',
    500: '#5737ab',
    950: '#000000',
  },
}
SCSS
$custom: #5737ab;
$custom-light: #8e70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5737ab",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 256.552,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.17506,
    "h": 290.1
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#5737AB
secondary
#AEC17C
accent
#DB4DB4
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5737AB

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

Preview Lab → · Contrast checker → · Palette generator →

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