#5739AE#5739AE

#5739AE is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.176 H 289.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5739AE
RGBrgb(87, 57, 174)
HSLhsl(255, 51%, 45%)
HSVhsv(255, 67%, 68%)
CMYKcmyk(50%, 67.2%, 0%, 31.8%)
CIE-LABlab(34.00, 42.31, -58.09)
CIE-LCHlch(34.00, 71.87, 306.06°)
OKLaboklab(44.93% 0.0576 -0.1666)
OKLCHoklch(44.93% 0.176 289.1)
XYZxyz(13.0314, 8.0079, 40.8952)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739AE #90AE39
analogous
#3955AE #5739AE #9239AE
triadic
#5739AE #AE5739 #39AE57
tetradic
#5739AE #AE3955 #90AE39 #39AE92
square
#5739AE #AE3955 #90AE39 #39AE92
split-complementary
#5739AE #AE9239 #55AE39
monochromatic
#291B52 #402A80 #5739AE #775BC9 #9D89D8

Accessibility & contrast

On white

8.07
#5739AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5739AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739AE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739AE#FFFFFF#000000##FFFFFF
##5739AE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#39566E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5739ae;
/* rgb */ color: rgb(87, 57, 174);
/* oklch */ color: oklch(44.9% 0.176 289.1);
Tailwind
colors: {
  custom: {
    50: '#8e71c7',
    500: '#5739ae',
    950: '#000000',
  },
}
SCSS
$custom: #5739ae;
$custom-light: #8e71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5739ae",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 255.385,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.17626,
    "h": 289.1
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#5739AE
secondary
#B2C380
accent
#DA4EB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5739AE

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

Preview Lab → · Contrast checker → · Palette generator →

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