#5739A2#5739A2

#5739A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.161 H 291.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5739A2
RGBrgb(87, 57, 162)
HSLhsl(257, 48%, 43%)
HSVhsv(257, 65%, 64%)
CMYKcmyk(46.3%, 64.8%, 0%, 36.5%)
CIE-LABlab(33.05, 38.80, -52.44)
CIE-LCHlch(33.05, 65.24, 306.50°)
OKLaboklab(43.95% 0.0591 -0.15)
OKLCHoklch(43.95% 0.161 291.5)
XYZxyz(11.9134, 7.5607, 35.0071)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739A2 #84A239
analogous
#394FA2 #5739A2 #8B39A2
triadic
#5739A2 #A25739 #39A257
tetradic
#5739A2 #A2394F #84A239 #39A28B
square
#5739A2 #A2394F #84A239 #39A28B
split-complementary
#5739A2 #A28B39 #4FA239
monochromatic
#261947 #3F2975 #5739A2 #7455C3 #9982D3

Accessibility & contrast

On white

8.36
#5739A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5739A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739A2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739A2#FFFFFF#000000##FFFFFF
##5739A21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#405268
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5739a2;
/* rgb */ color: rgb(87, 57, 162);
/* oklch */ color: oklch(44.0% 0.161 291.5);
Tailwind
colors: {
  custom: {
    50: '#8d71be',
    500: '#5739a2',
    950: '#000000',
  },
}
SCSS
$custom: #5739a2;
$custom-light: #8d71be;
$custom-dark: #000000;
JSON
{
  "hex": "#5739a2",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 257.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.16119,
    "h": 291.5
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#5739A2
secondary
#AABD7A
accent
#D850B1
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5739A2

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

Preview Lab → · Contrast checker → · Palette generator →

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