#571889#571889

#571889 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.172 H 304.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#571889
RGBrgb(87, 24, 137)
HSLhsl(273, 70%, 32%)
HSVhsv(273, 82%, 54%)
CMYKcmyk(36.5%, 82.5%, 0%, 46.3%)
CIE-LABlab(25.22, 48.29, -49.86)
CIE-LCHlch(25.22, 69.42, 314.09°)
OKLaboklab(37.74% 0.0966 -0.1422)
OKLCHoklch(37.74% 0.172 304.2)
XYZxyz(8.7714, 4.4857, 24.0658)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571889 #4A8918
analogous
#1E1889 #571889 #891883
triadic
#571889 #895718 #188957
tetradic
#571889 #891E18 #4A8918 #188389
square
#571889 #891E18 #4A8918 #188389
split-complementary
#571889 #838918 #18891E
monochromatic
#150621 #360F55 #571889 #7821BD #973EDD

Accessibility & contrast

On white

11.07
#571889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571889
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571889#FFFFFF#000000##FFFFFF
##5718891.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4D3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571889;
/* rgb */ color: rgb(87, 24, 137);
/* oklch */ color: oklch(37.7% 0.172 304.2);
Tailwind
colors: {
  custom: {
    50: '#8c5eac',
    500: '#571889',
    950: '#000000',
  },
}
SCSS
$custom: #571889;
$custom-light: #8c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#571889",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 273.451,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3774,
    "c": 0.17189,
    "h": 304.2
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#571889
secondary
#77BD40
accent
#ED3B8A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571889

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

Preview Lab → · Contrast checker → · Palette generator →

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