#5739CE#5739CE

#5739CE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.215 H 284.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5739CE
RGBrgb(87, 57, 206)
HSLhsl(252, 60%, 52%)
HSVhsv(252, 72%, 81%)
CMYKcmyk(57.8%, 72.3%, 0%, 19.2%)
CIE-LABlab(36.76, 51.69, -72.39)
CIE-LCHlch(36.76, 88.95, 305.53°)
OKLaboklab(47.75% 0.0518 -0.2085)
OKLCHoklch(47.75% 0.215 284)
XYZxyz(16.5308, 9.4077, 59.3253)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739CE #B0CE39
analogous
#3965CE #5739CE #A239CE
triadic
#5739CE #CE5739 #39CE57
tetradic
#5739CE #CE3965 #B0CE39 #39CEA2
square
#5739CE #CE3965 #B0CE39 #39CEA2
split-complementary
#5739CE #CEA239 #65CE39
monochromatic
#2D1C71 #4128A2 #5739CE #816ADA #AA9BE6

Accessibility & contrast

On white

7.29
#5739CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5739CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739CE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739CE#FFFFFF#000000##FFFFFF
##5739CE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#126280
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5739ce;
/* rgb */ color: rgb(87, 57, 206);
/* oklch */ color: oklch(47.8% 0.215 284.0);
Tailwind
colors: {
  custom: {
    50: '#9373de',
    500: '#5739ce',
    950: '#000000',
  },
}
SCSS
$custom: #5739ce;
$custom-light: #9373de;
$custom-dark: #000000;
JSON
{
  "hex": "#5739ce",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 252.081,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47751,
    "c": 0.21484,
    "h": 284
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#5739CE
secondary
#C5D291
accent
#E344C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5739CE

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

Preview Lab → · Contrast checker → · Palette generator →

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