#5739BD#5739BD

#5739BD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.195 H 286.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5739BD
RGBrgb(87, 57, 189)
HSLhsl(254, 54%, 48%)
HSVhsv(254, 70%, 74%)
CMYKcmyk(54%, 69.8%, 0%, 25.9%)
CIE-LABlab(35.25, 46.71, -64.93)
CIE-LCHlch(35.25, 79.99, 305.73°)
OKLaboklab(46.22% 0.0552 -0.1866)
OKLCHoklch(46.22% 0.195 286.5)
XYZxyz(14.5762, 8.6258, 49.0311)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739BD #9FBD39
analogous
#395DBD #5739BD #9939BD
triadic
#5739BD #BD5739 #39BD57
tetradic
#5739BD #BD395D #9FBD39 #39BD99
square
#5739BD #BD395D #9FBD39 #39BD99
split-complementary
#5739BD #BD9939 #5DBD39
monochromatic
#2C1D5F #412B8E #5739BD #7C63D0 #A392DE

Accessibility & contrast

On white

7.71
#5739BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5739BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739BD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739BD#FFFFFF#000000##FFFFFF
##5739BD1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#2C5B77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5739bd;
/* rgb */ color: rgb(87, 57, 189);
/* oklch */ color: oklch(46.2% 0.195 286.5);
Tailwind
colors: {
  custom: {
    50: '#9072d2',
    500: '#5739bd',
    950: '#000000',
  },
}
SCSS
$custom: #5739bd;
$custom-light: #9072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5739bd",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 253.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.19463,
    "h": 286.5
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#5739BD
secondary
#BBC989
accent
#DD4BBC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5739BD

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

Preview Lab → · Contrast checker → · Palette generator →

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