#5739B5#5739B5

#5739B5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.185 H 287.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5739B5
RGBrgb(87, 57, 181)
HSLhsl(255, 52%, 47%)
HSVhsv(255, 69%, 71%)
CMYKcmyk(51.9%, 68.5%, 0%, 29%)
CIE-LABlab(34.58, 44.36, -61.31)
CIE-LCHlch(34.58, 75.68, 305.89°)
OKLaboklab(45.53% 0.0566 -0.176)
OKLCHoklch(45.53% 0.185 287.8)
XYZxyz(13.7316, 8.2880, 44.5833)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739B5 #97B539
analogous
#3959B5 #5739B5 #9539B5
triadic
#5739B5 #B55739 #39B557
tetradic
#5739B5 #B53959 #97B539 #39B595
square
#5739B5 #B53959 #97B539 #39B595
split-complementary
#5739B5 #B59539 #59B539
monochromatic
#2A1C58 #412A86 #5739B5 #795FCD #A08DDB

Accessibility & contrast

On white

7.90
#5739B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5739B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739B5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739B5#FFFFFF#000000##FFFFFF
##5739B51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#345972
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5739b5;
/* rgb */ color: rgb(87, 57, 181);
/* oklch */ color: oklch(45.5% 0.185 287.8);
Tailwind
colors: {
  custom: {
    50: '#8f72cc',
    500: '#5739b5',
    950: '#000000',
  },
}
SCSS
$custom: #5739b5;
$custom-light: #8f72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5739b5",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 254.516,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.18491,
    "h": 287.8
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#5739B5
secondary
#B6C684
accent
#DC4CB9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5739B5

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

Preview Lab → · Contrast checker → · Palette generator →

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