#5739CC#5739CC

#5739CC is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.212 H 284.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5739CC
RGBrgb(87, 57, 204)
HSLhsl(252, 59%, 51%)
HSVhsv(252, 72%, 80%)
CMYKcmyk(57.4%, 72.1%, 0%, 20%)
CIE-LABlab(36.58, 51.11, -71.53)
CIE-LCHlch(36.58, 87.91, 305.55°)
OKLaboklab(47.57% 0.0522 -0.206)
OKLCHoklch(47.57% 0.213 284.2)
XYZxyz(16.2894, 9.3111, 58.0539)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739CC #AECC39
analogous
#3964CC #5739CC #A039CC
triadic
#5739CC #CC5739 #39CC57
tetradic
#5739CC #CC3964 #AECC39 #39CCA0
square
#5739CC #CC3964 #AECC39 #39CCA0
split-complementary
#5739CC #CCA039 #64CC39
monochromatic
#2D1C6E #41299F #5739CC #806AD9 #AA9AE5

Accessibility & contrast

On white

7.34
#5739CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5739CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739CC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739CC#FFFFFF#000000##FFFFFF
##5739CC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#17617F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5739cc;
/* rgb */ color: rgb(87, 57, 204);
/* oklch */ color: oklch(47.6% 0.212 284.2);
Tailwind
colors: {
  custom: {
    50: '#9372dd',
    500: '#5739cc',
    950: '#000000',
  },
}
SCSS
$custom: #5739cc;
$custom-light: #9372dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5739cc",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 252.245,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.2125,
    "h": 284.2
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#5739CC
secondary
#C4D190
accent
#E246C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5739CC

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

Preview Lab → · Contrast checker → · Palette generator →

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