#5739BA#5739BA

#5739BA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.191 H 287.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5739BA
RGBrgb(87, 57, 186)
HSLhsl(254, 53%, 48%)
HSVhsv(254, 69%, 73%)
CMYKcmyk(53.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(35.00, 45.83, -63.58)
CIE-LCHlch(35.00, 78.38, 305.78°)
OKLaboklab(45.96% 0.0557 -0.1827)
OKLCHoklch(45.96% 0.191 287)
XYZxyz(14.2539, 8.4969, 47.3339)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739BA #9CBA39
analogous
#395CBA #5739BA #9739BA
triadic
#5739BA #BA5739 #39BA57
tetradic
#5739BA #BA395C #9CBA39 #39BA97
square
#5739BA #BA395C #9CBA39 #39BA97
split-complementary
#5739BA #BA9739 #5CBA39
monochromatic
#2B1C5C #412B8B #5739BA #7B61CF #A290DD

Accessibility & contrast

On white

7.78
#5739BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5739BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739BA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739BA#FFFFFF#000000##FFFFFF
##5739BA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#2F5A75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5739ba;
/* rgb */ color: rgb(87, 57, 186);
/* oklch */ color: oklch(46.0% 0.191 287.0);
Tailwind
colors: {
  custom: {
    50: '#9072d0',
    500: '#5739ba',
    950: '#000000',
  },
}
SCSS
$custom: #5739ba;
$custom-light: #9072d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5739ba",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 253.953,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.191,
    "h": 287
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#5739BA
secondary
#B9C887
accent
#DC4BBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5739BA

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

Preview Lab → · Contrast checker → · Palette generator →

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