#571589#571589

#571589 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.175 H 304.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#571589
RGBrgb(87, 21, 137)
HSLhsl(274, 73%, 31%)
HSVhsv(274, 85%, 54%)
CMYKcmyk(36.5%, 84.7%, 0%, 46.3%)
CIE-LABlab(24.85, 49.35, -50.45)
CIE-LCHlch(24.85, 70.57, 314.37°)
OKLaboklab(37.49% 0.0988 -0.1439)
OKLCHoklch(37.49% 0.175 304.5)
XYZxyz(8.7130, 4.3687, 24.0463)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571589 #478915
analogous
#1D1589 #571589 #891581
triadic
#571589 #895715 #158957
tetradic
#571589 #891D15 #478915 #158189
square
#571589 #891D15 #478915 #158189
split-complementary
#571589 #818915 #15891D
monochromatic
#14051F #350D54 #571589 #791DBE #9838E0

Accessibility & contrast

On white

11.21
#571589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571589
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571589#FFFFFF#000000##FFFFFF
##5715891.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#4D3651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571589;
/* rgb */ color: rgb(87, 21, 137);
/* oklch */ color: oklch(37.5% 0.175 304.5);
Tailwind
colors: {
  custom: {
    50: '#8c5dac',
    500: '#571589',
    950: '#000000',
  },
}
SCSS
$custom: #571589;
$custom-light: #8c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#571589",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 274.138,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37489,
    "c": 0.17457,
    "h": 304.5
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#571589
secondary
#74BD3D
accent
#F03887
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571589

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

Preview Lab → · Contrast checker → · Palette generator →

#571589 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva