#571781#571781

#571781 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.165 H 307.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#571781
RGBrgb(87, 23, 129)
HSLhsl(276, 70%, 30%)
HSVhsv(276, 82%, 51%)
CMYKcmyk(32.6%, 82.2%, 0%, 49.4%)
CIE-LABlab(24.40, 46.79, -46.17)
CIE-LCHlch(24.40, 65.73, 315.38°)
OKLaboklab(36.96% 0.0996 -0.1314)
OKLCHoklch(36.96% 0.165 307.2)
XYZxyz(8.1985, 4.2241, 21.1481)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571781 #418117
analogous
#221781 #571781 #811776
triadic
#571781 #815717 #178157
tetradic
#571781 #812217 #418117 #177681
square
#571781 #812217 #418117 #177681
split-complementary
#571781 #768117 #178122
monochromatic
#12051A #340E4D #571781 #7A20B5 #9A37DB

Accessibility & contrast

On white

11.38
#571781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571781
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571781#FFFFFF#000000##FFFFFF
##5717811.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#50334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571781;
/* rgb */ color: rgb(87, 23, 129);
/* oklch */ color: oklch(37.0% 0.165 307.2);
Tailwind
colors: {
  custom: {
    50: '#8b5da6',
    500: '#571781',
    950: '#000000',
  },
}
SCSS
$custom: #571781;
$custom-light: #8b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#571781",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 276.226,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36956,
    "c": 0.16487,
    "h": 307.2
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#571781
secondary
#6EB53E
accent
#ED3B82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571781

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

Preview Lab → · Contrast checker → · Palette generator →

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