#571783#571783

#571783 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.167 H 306.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#571783
RGBrgb(87, 23, 131)
HSLhsl(276, 70%, 30%)
HSVhsv(276, 82%, 51%)
CMYKcmyk(33.6%, 82.4%, 0%, 48.6%)
CIE-LABlab(24.57, 47.25, -47.15)
CIE-LCHlch(24.57, 66.75, 315.06°)
OKLaboklab(37.13% 0.0991 -0.1342)
OKLCHoklch(37.13% 0.167 306.4)
XYZxyz(8.3327, 4.2778, 21.8551)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571783 #438317
analogous
#211783 #571783 #831779
triadic
#571783 #835717 #178357
tetradic
#571783 #832117 #438317 #177983
square
#571783 #832117 #438317 #177983
split-complementary
#571783 #798317 #178321
monochromatic
#12051B #340E4F #571783 #7A20B7 #9938DC

Accessibility & contrast

On white

11.32
#571783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571783
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571783#FFFFFF#000000##FFFFFF
##5717831.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571783;
/* rgb */ color: rgb(87, 23, 131);
/* oklch */ color: oklch(37.1% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#8b5da8',
    500: '#571783',
    950: '#000000',
  },
}
SCSS
$custom: #571783;
$custom-light: #8b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#571783",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 275.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37128,
    "c": 0.16686,
    "h": 306.4
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#571783
secondary
#70B73F
accent
#ED3B83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571783

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

Preview Lab → · Contrast checker → · Palette generator →

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