#571789#571789

#571789 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.173 H 304.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#571789
RGBrgb(87, 23, 137)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 54%)
CMYKcmyk(36.5%, 83.2%, 0%, 46.3%)
CIE-LABlab(25.09, 48.66, -50.06)
CIE-LCHlch(25.09, 69.81, 314.18°)
OKLaboklab(37.65% 0.0973 -0.1428)
OKLCHoklch(37.65% 0.173 304.3)
XYZxyz(8.7512, 4.4452, 24.0590)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571789 #498917
analogous
#1E1789 #571789 #891782
triadic
#571789 #895717 #178957
tetradic
#571789 #891E17 #498917 #178289
square
#571789 #891E17 #498917 #178289
split-complementary
#571789 #828917 #17891E
monochromatic
#140520 #360E55 #571789 #7820BD #973CDE

Accessibility & contrast

On white

11.12
#571789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#571789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571789
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571789#FFFFFF#000000##FFFFFF
##5717891.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.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: #571789;
/* rgb */ color: rgb(87, 23, 137);
/* oklch */ color: oklch(37.7% 0.173 304.3);
Tailwind
colors: {
  custom: {
    50: '#8c5dac',
    500: '#571789',
    950: '#000000',
  },
}
SCSS
$custom: #571789;
$custom-light: #8c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#571789",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 273.684,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37653,
    "c": 0.17281,
    "h": 304.3
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#571789
secondary
#76BD3F
accent
#EE3A89
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571789

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

Preview Lab → · Contrast checker → · Palette generator →

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