#5737A2#5737A2

#5737A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.164 H 292.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5737A2
RGBrgb(87, 55, 162)
HSLhsl(258, 49%, 43%)
HSVhsv(258, 66%, 64%)
CMYKcmyk(46.3%, 66%, 0%, 36.5%)
CIE-LABlab(32.63, 39.94, -53.13)
CIE-LCHlch(32.63, 66.47, 306.94°)
OKLaboklab(43.65% 0.0613 -0.152)
OKLCHoklch(43.65% 0.164 292)
XYZxyz(11.8164, 7.3669, 34.9748)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737A2 #82A237
analogous
#374CA2 #5737A2 #8D37A2
triadic
#5737A2 #A25737 #37A257
tetradic
#5737A2 #A2374C #82A237 #37A28D
square
#5737A2 #A2374C #82A237 #37A28D
split-complementary
#5737A2 #A28D37 #4CA237
monochromatic
#261847 #3E2774 #5737A2 #7452C4 #9980D4

Accessibility & contrast

On white

8.49
#5737A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5737A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737A2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737A2#FFFFFF#000000##FFFFFF
##5737A21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#415167
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5737a2;
/* rgb */ color: rgb(87, 55, 162);
/* oklch */ color: oklch(43.6% 0.164 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d70be',
    500: '#5737a2',
    950: '#000000',
  },
}
SCSS
$custom: #5737a2;
$custom-light: #8d70be;
$custom-dark: #000000;
JSON
{
  "hex": "#5737a2",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 257.944,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.16386,
    "h": 292
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#5737A2
secondary
#A8BD78
accent
#D94FB0
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5737A2

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

Preview Lab → · Contrast checker → · Palette generator →

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