#5739B8#5739B8

#5739B8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.189 H 287.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5739B8
RGBrgb(87, 57, 184)
HSLhsl(254, 53%, 47%)
HSVhsv(254, 69%, 72%)
CMYKcmyk(52.7%, 69%, 0%, 27.8%)
CIE-LABlab(34.83, 45.24, -62.68)
CIE-LCHlch(34.83, 77.30, 305.82°)
OKLaboklab(45.78% 0.0561 -0.18)
OKLCHoklch(45.78% 0.189 287.3)
XYZxyz(14.0428, 8.4125, 46.2219)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739B8 #9AB839
analogous
#395BB8 #5739B8 #9639B8
triadic
#5739B8 #B85739 #39B857
tetradic
#5739B8 #B8395B #9AB839 #39B896
square
#5739B8 #B8395B #9AB839 #39B896
split-complementary
#5739B8 #B89639 #5BB839
monochromatic
#2B1C5B #412B89 #5739B8 #7A60CE #A18FDC

Accessibility & contrast

On white

7.83
#5739B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5739B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739B8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739B8#FFFFFF#000000##FFFFFF
##5739B81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#315A74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5739b8;
/* rgb */ color: rgb(87, 57, 184);
/* oklch */ color: oklch(45.8% 0.189 287.3);
Tailwind
colors: {
  custom: {
    50: '#9072ce',
    500: '#5739b8',
    950: '#000000',
  },
}
SCSS
$custom: #5739b8;
$custom-light: #9072ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5739b8",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 254.173,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.18857,
    "h": 287.3
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#5739B8
secondary
#B8C786
accent
#DC4CBA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5739B8

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

Preview Lab → · Contrast checker → · Palette generator →

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