#5737AF#5737AF

#5737AF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.180 H 289.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5737AF
RGBrgb(87, 55, 175)
HSLhsl(256, 52%, 45%)
HSVhsv(256, 69%, 69%)
CMYKcmyk(50.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(33.68, 43.71, -59.22)
CIE-LCHlch(33.68, 73.60, 306.43°)
OKLaboklab(44.73% 0.0594 -0.1699)
OKLCHoklch(44.73% 0.18 289.3)
XYZxyz(13.0323, 7.8532, 41.3783)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737AF #8FAF37
analogous
#3753AF #5737AF #9337AF
triadic
#5737AF #AF5737 #37AF57
tetradic
#5737AF #AF3753 #8FAF37 #37AF93
square
#5737AF #AF3753 #8FAF37 #37AF93
split-complementary
#5737AF #AF9337 #53AF37
monochromatic
#291A52 #402880 #5737AF #7759CB #9D87D9

Accessibility & contrast

On white

8.17
#5737AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5737AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737AF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737AF#FFFFFF#000000##FFFFFF
##5737AF1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5737af;
/* rgb */ color: rgb(87, 55, 175);
/* oklch */ color: oklch(44.7% 0.180 289.3);
Tailwind
colors: {
  custom: {
    50: '#8e70c8',
    500: '#5737af',
    950: '#000000',
  },
}
SCSS
$custom: #5737af;
$custom-light: #8e70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5737af",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 256,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.17998,
    "h": 289.3
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#5737AF
secondary
#B1C37F
accent
#DC4CB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5737AF

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

Preview Lab → · Contrast checker → · Palette generator →

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