#5739BC#5739BC

#5739BC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.193 H 286.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5739BC
RGBrgb(87, 57, 188)
HSLhsl(254, 53%, 48%)
HSVhsv(254, 70%, 74%)
CMYKcmyk(53.7%, 69.7%, 0%, 26.3%)
CIE-LABlab(35.17, 46.42, -64.48)
CIE-LCHlch(35.17, 79.45, 305.75°)
OKLaboklab(46.13% 0.0554 -0.1853)
OKLCHoklch(46.13% 0.193 286.6)
XYZxyz(14.4680, 8.5826, 48.4614)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739BC #9EBC39
analogous
#395DBC #5739BC #9839BC
triadic
#5739BC #BC5739 #39BC57
tetradic
#5739BC #BC395D #9EBC39 #39BC98
square
#5739BC #BC395D #9EBC39 #39BC98
split-complementary
#5739BC #BC9839 #5DBC39
monochromatic
#2C1D5E #412B8D #5739BC #7C63D0 #A392DE

Accessibility & contrast

On white

7.73
#5739BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5739BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739BC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739BC#FFFFFF#000000##FFFFFF
##5739BC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#2D5B76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5739bc;
/* rgb */ color: rgb(87, 57, 188);
/* oklch */ color: oklch(46.1% 0.193 286.6);
Tailwind
colors: {
  custom: {
    50: '#9072d1',
    500: '#5739bc',
    950: '#000000',
  },
}
SCSS
$custom: #5739bc;
$custom-light: #9072d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5739bc",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 253.74,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.19342,
    "h": 286.6
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#5739BC
secondary
#BAC988
accent
#DD4BBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5739BC

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

Preview Lab → · Contrast checker → · Palette generator →

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