#5739CF#5739CF

#5739CF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.216 H 283.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5739CF
RGBrgb(87, 57, 207)
HSLhsl(252, 61%, 52%)
HSVhsv(252, 72%, 81%)
CMYKcmyk(58%, 72.5%, 0%, 18.8%)
CIE-LABlab(36.85, 51.99, -72.82)
CIE-LCHlch(36.85, 89.47, 305.52°)
OKLaboklab(47.84% 0.0516 -0.2098)
OKLCHoklch(47.84% 0.216 283.8)
XYZxyz(16.6526, 9.4564, 59.9672)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739CF #B1CF39
analogous
#3966CF #5739CF #A239CF
triadic
#5739CF #CF5739 #39CF57
tetradic
#5739CF #CF3966 #B1CF39 #39CFA2
square
#5739CF #CF3966 #B1CF39 #39CFA2
split-complementary
#5739CF #CFA239 #66CF39
monochromatic
#2D1C72 #4028A3 #5739CF #816ADB #AB9CE7

Accessibility & contrast

On white

7.26
#5739CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5739CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739CF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739CF#FFFFFF#000000##FFFFFF
##5739CF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#0F6281
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5739cf;
/* rgb */ color: rgb(87, 57, 207);
/* oklch */ color: oklch(47.8% 0.216 283.8);
Tailwind
colors: {
  custom: {
    50: '#9373df',
    500: '#5739cf',
    950: '#000000',
  },
}
SCSS
$custom: #5739cf;
$custom-light: #9373df;
$custom-dark: #000000;
JSON
{
  "hex": "#5739cf",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 252,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.21601,
    "h": 283.8
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#5739CF
secondary
#C6D391
accent
#E444C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5739CF

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

Preview Lab → · Contrast checker → · Palette generator →

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