#571788#571788

#571788 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.172 H 304.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#571788
RGBrgb(87, 23, 136)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 53%)
CMYKcmyk(36%, 83.1%, 0%, 46.7%)
CIE-LABlab(25.00, 48.42, -49.58)
CIE-LCHlch(25.00, 69.31, 314.32°)
OKLaboklab(37.57% 0.0976 -0.1414)
OKLCHoklch(37.57% 0.172 304.6)
XYZxyz(8.6798, 4.4166, 23.6830)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571788 #488817
analogous
#1E1788 #571788 #881780
triadic
#571788 #885717 #178857
tetradic
#571788 #881E17 #488817 #178088
square
#571788 #881E17 #488817 #178088
split-complementary
#571788 #808817 #17881E
monochromatic
#14051F #360E54 #571788 #7820BC #973BDE

Accessibility & contrast

On white

11.15
#571788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571788
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571788#FFFFFF#000000##FFFFFF
##5717881.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#4D3650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571788;
/* rgb */ color: rgb(87, 23, 136);
/* oklch */ color: oklch(37.6% 0.172 304.6);
Tailwind
colors: {
  custom: {
    50: '#8c5dac',
    500: '#571788',
    950: '#000000',
  },
}
SCSS
$custom: #571788;
$custom-light: #8c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#571788",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 273.982,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.17182,
    "h": 304.6
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#571788
secondary
#75BC3F
accent
#EE3A88
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571788

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

Preview Lab → · Contrast checker → · Palette generator →

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