#5739CA#5739CA

#5739CA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.210 H 284.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5739CA
RGBrgb(87, 57, 202)
HSLhsl(252, 58%, 51%)
HSVhsv(252, 72%, 79%)
CMYKcmyk(56.9%, 71.8%, 0%, 20.8%)
CIE-LABlab(36.40, 50.52, -70.66)
CIE-LCHlch(36.40, 86.86, 305.57°)
OKLaboklab(47.38% 0.0527 -0.2034)
OKLCHoklch(47.38% 0.21 284.5)
XYZxyz(16.0510, 9.2158, 56.7987)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739CA #ACCA39
analogous
#3963CA #5739CA #9F39CA
triadic
#5739CA #CA5739 #39CA57
tetradic
#5739CA #CA3963 #ACCA39 #39CA9F
square
#5739CA #CA3963 #ACCA39 #39CA9F
split-complementary
#5739CA #CA9F39 #63CA39
monochromatic
#2D1D6C #412A9C #5739CA #8069D7 #A99AE4

Accessibility & contrast

On white

7.39
#5739CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5739CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739CA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739CA#FFFFFF#000000##FFFFFF
##5739CA1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#1B607E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5739ca;
/* rgb */ color: rgb(87, 57, 202);
/* oklch */ color: oklch(47.4% 0.210 284.5);
Tailwind
colors: {
  custom: {
    50: '#9272db',
    500: '#5739ca',
    950: '#000000',
  },
}
SCSS
$custom: #5739ca;
$custom-light: #9272db;
$custom-dark: #000000;
JSON
{
  "hex": "#5739ca",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 252.414,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.21014,
    "h": 284.5
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#5739CA
secondary
#C2D08F
accent
#E147C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5739CA

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

Preview Lab → · Contrast checker → · Palette generator →

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