#571888#571888

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

Color values

HEX#571888
RGBrgb(87, 24, 136)
HSLhsl(274, 70%, 31%)
HSVhsv(274, 82%, 53%)
CMYKcmyk(36%, 82.4%, 0%, 46.7%)
CIE-LABlab(25.13, 48.06, -49.38)
CIE-LCHlch(25.13, 68.90, 314.22°)
OKLaboklab(37.65% 0.0969 -0.1408)
OKLCHoklch(37.65% 0.171 304.5)
XYZxyz(8.7000, 4.4571, 23.6898)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571888 #498818
analogous
#1F1888 #571888 #881881
triadic
#571888 #885718 #188857
tetradic
#571888 #881F18 #498818 #188188
square
#571888 #881F18 #498818 #188188
split-complementary
#571888 #818818 #18881F
monochromatic
#140620 #360F54 #571888 #7821BC #973EDD

Accessibility & contrast

On white

11.10
#571888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571888
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571888#FFFFFF#000000##FFFFFF
##5718881.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#4D3651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571888;
/* rgb */ color: rgb(87, 24, 136);
/* oklch */ color: oklch(37.7% 0.171 304.5);
Tailwind
colors: {
  custom: {
    50: '#8c5eac',
    500: '#571888',
    950: '#000000',
  },
}
SCSS
$custom: #571888;
$custom-light: #8c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#571888",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 273.75,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37652,
    "c": 0.17089,
    "h": 304.5
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#571888
secondary
#76BC40
accent
#ED3B89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571888

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

Preview Lab → · Contrast checker → · Palette generator →

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