#5739AF#5739AF

#5739AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.177 H 288.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5739AF
RGBrgb(87, 57, 175)
HSLhsl(255, 51%, 45%)
HSVhsv(255, 67%, 69%)
CMYKcmyk(50.3%, 67.4%, 0%, 31.4%)
CIE-LABlab(34.08, 42.60, -58.56)
CIE-LCHlch(34.08, 72.41, 306.04°)
OKLaboklab(45.02% 0.0575 -0.1679)
OKLCHoklch(45.02% 0.178 288.9)
XYZxyz(13.1292, 8.0471, 41.4106)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739AF #91AF39
analogous
#3956AF #5739AF #9239AF
triadic
#5739AF #AF5739 #39AF57
tetradic
#5739AF #AF3956 #91AF39 #39AF92
square
#5739AF #AF3956 #91AF39 #39AF92
split-complementary
#5739AF #AF9239 #56AF39
monochromatic
#291B53 #402A81 #5739AF #775BCA #9E8AD9

Accessibility & contrast

On white

8.05
#5739AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5739AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739AF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739AF#FFFFFF#000000##FFFFFF
##5739AF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#38566F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5739af;
/* rgb */ color: rgb(87, 57, 175);
/* oklch */ color: oklch(45.0% 0.177 288.9);
Tailwind
colors: {
  custom: {
    50: '#8e71c8',
    500: '#5739af',
    950: '#000000',
  },
}
SCSS
$custom: #5739af;
$custom-light: #8e71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5739af",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 255.254,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45017,
    "c": 0.1775,
    "h": 288.9
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#5739AF
secondary
#B2C381
accent
#DA4DB7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5739AF

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

Preview Lab → · Contrast checker → · Palette generator →

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