#5739AC#5739AC

#5739AC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.174 H 289.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5739AC
RGBrgb(87, 57, 172)
HSLhsl(256, 50%, 45%)
HSVhsv(256, 67%, 67%)
CMYKcmyk(49.4%, 66.9%, 0%, 32.5%)
CIE-LABlab(33.84, 41.72, -57.16)
CIE-LCHlch(33.84, 70.77, 306.12°)
OKLaboklab(44.77% 0.0579 -0.1638)
OKLCHoklch(44.77% 0.174 289.5)
XYZxyz(12.8379, 7.9305, 39.8760)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739AC #8EAC39
analogous
#3955AC #5739AC #9039AC
triadic
#5739AC #AC5739 #39AC57
tetradic
#5739AC #AC3955 #8EAC39 #39AC90
square
#5739AC #AC3955 #8EAC39 #39AC90
split-complementary
#5739AC #AC9039 #55AC39
monochromatic
#281B50 #402A7E #5739AC #775AC8 #9D88D8

Accessibility & contrast

On white

8.12
#5739AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5739AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739AC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739AC#FFFFFF#000000##FFFFFF
##5739AC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#3A556D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5739ac;
/* rgb */ color: rgb(87, 57, 172);
/* oklch */ color: oklch(44.8% 0.174 289.5);
Tailwind
colors: {
  custom: {
    50: '#8e71c6',
    500: '#5739ac',
    950: '#000000',
  },
}
SCSS
$custom: #5739ac;
$custom-light: #8e71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5739ac",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 255.652,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.17378,
    "h": 289.5
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#5739AC
secondary
#B0C27F
accent
#DA4EB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5739AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5739AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva