#5739DF#5739DF

#5739DF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.234 H 281.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5739DF
RGBrgb(87, 57, 223)
HSLhsl(251, 72%, 55%)
HSVhsv(251, 74%, 87%)
CMYKcmyk(61%, 74.4%, 0%, 12.5%)
CIE-LABlab(38.34, 56.63, -79.58)
CIE-LCHlch(38.34, 97.67, 305.44°)
OKLaboklab(49.35% 0.0479 -0.2295)
OKLCHoklch(49.35% 0.234 281.8)
XYZxyz(18.7087, 10.2789, 70.7959)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739DF #C1DF39
analogous
#396EDF #5739DF #AA39DF
triadic
#5739DF #DF5739 #39DF57
tetradic
#5739DF #DF396E #C1DF39 #39DFAA
square
#5739DF #DF396E #C1DF39 #39DFAA
split-complementary
#5739DF #DFAA39 #6EDF39
monochromatic
#2A1688 #3B1EBC #5739DF #846EE8 #B0A2F0

Accessibility & contrast

On white

6.87
#5739DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5739DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5739DF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739DF#FFFFFF#000000##FFFFFF
##5739DF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E4
Deuteranopia (green-blind)
#0054DC
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5739df;
/* rgb */ color: rgb(87, 57, 223);
/* oklch */ color: oklch(49.3% 0.234 281.8);
Tailwind
colors: {
  custom: {
    50: '#9673ea',
    500: '#5739df',
    950: '#000000',
  },
}
SCSS
$custom: #5739df;
$custom-light: #9673ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5739df",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 223
  },
  "hsl": {
    "h": 250.843,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.23447,
    "h": 281.8
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#5739DF
secondary
#D0DD97
accent
#EF39CE
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5739DF

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

Preview Lab → · Contrast checker → · Palette generator →

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