#571883#571883

#571883 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.166 H 306.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#571883
RGBrgb(87, 24, 131)
HSLhsl(275, 69%, 30%)
HSVhsv(275, 82%, 51%)
CMYKcmyk(33.6%, 81.7%, 0%, 48.6%)
CIE-LABlab(24.70, 46.88, -46.95)
CIE-LCHlch(24.70, 66.35, 314.96°)
OKLaboklab(37.22% 0.0983 -0.1336)
OKLCHoklch(37.22% 0.166 306.3)
XYZxyz(8.3529, 4.3183, 21.8618)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571883 #448318
analogous
#211883 #571883 #831879
triadic
#571883 #835718 #188357
tetradic
#571883 #832118 #448318 #187983
square
#571883 #832118 #448318 #187983
split-complementary
#571883 #798318 #188321
monochromatic
#12051C #350F4F #571883 #7921B7 #993ADB

Accessibility & contrast

On white

11.27
#571883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571883
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571883#FFFFFF#000000##FFFFFF
##5718831.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#4F344E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571883;
/* rgb */ color: rgb(87, 24, 131);
/* oklch */ color: oklch(37.2% 0.166 306.3);
Tailwind
colors: {
  custom: {
    50: '#8b5da8',
    500: '#571883',
    950: '#000000',
  },
}
SCSS
$custom: #571883;
$custom-light: #8b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#571883",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 275.327,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.16588,
    "h": 306.3
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#571883
secondary
#71B740
accent
#EC3C84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571883

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

Preview Lab → · Contrast checker → · Palette generator →

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