#5739C3#5739C3

#5739C3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.8% C 0.202 H 285.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5739C3
RGBrgb(87, 57, 195)
HSLhsl(253, 55%, 49%)
HSVhsv(253, 71%, 76%)
CMYKcmyk(55.4%, 70.8%, 0%, 23.5%)
CIE-LABlab(35.78, 48.47, -67.59)
CIE-LCHlch(35.78, 83.18, 305.64°)
OKLaboklab(46.75% 0.0541 -0.1945)
OKLCHoklch(46.75% 0.202 285.5)
XYZxyz(15.2410, 8.8918, 52.5324)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739C3 #A5C339
analogous
#3960C3 #5739C3 #9C39C3
triadic
#5739C3 #C35739 #39C357
tetradic
#5739C3 #C33960 #A5C339 #39C39C
square
#5739C3 #C33960 #A5C339 #39C39C
split-complementary
#5739C3 #C39C39 #60C339
monochromatic
#2D1D64 #422B94 #5739C3 #7E67D2 #A696E0

Accessibility & contrast

On white

7.56
#5739C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5739C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739C3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739C3#FFFFFF#000000##FFFFFF
##5739C31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#265E7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5739c3;
/* rgb */ color: rgb(87, 57, 195);
/* oklch */ color: oklch(46.8% 0.202 285.5);
Tailwind
colors: {
  custom: {
    50: '#9172d6',
    500: '#5739c3',
    950: '#000000',
  },
}
SCSS
$custom: #5739c3;
$custom-light: #9172d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5739c3",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 253.043,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.20183,
    "h": 285.5
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#5739C3
secondary
#BECC8C
accent
#DE4ABE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5739C3

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

Preview Lab → · Contrast checker → · Palette generator →

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