#571381#571381

#571381 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.169 H 307.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#571381
RGBrgb(87, 19, 129)
HSLhsl(277, 74%, 29%)
HSVhsv(277, 85%, 51%)
CMYKcmyk(32.6%, 85.3%, 0%, 49.4%)
CIE-LABlab(23.92, 48.17, -46.94)
CIE-LCHlch(23.92, 67.26, 315.74°)
OKLaboklab(36.63% 0.1028 -0.1336)
OKLCHoklch(36.63% 0.169 307.6)
XYZxyz(8.1250, 4.0771, 21.1236)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571381 #3D8113
analogous
#201381 #571381 #811374
triadic
#571381 #815713 #138157
tetradic
#571381 #812013 #3D8113 #137481
square
#571381 #812013 #3D8113 #137481
split-complementary
#571381 #748113 #138120
monochromatic
#12041B #330B4C #571381 #7B1BB6 #9C2EE0

Accessibility & contrast

On white

11.57
#571381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571381
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571381#FFFFFF#000000##FFFFFF
##5713811.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#50314C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571381;
/* rgb */ color: rgb(87, 19, 129);
/* oklch */ color: oklch(36.6% 0.169 307.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ba6',
    500: '#571381',
    950: '#000000',
  },
}
SCSS
$custom: #571381;
$custom-light: #8b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#571381",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 277.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.16854,
    "h": 307.6
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#571381
secondary
#69B63A
accent
#F1377E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #571381

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

Preview Lab → · Contrast checker → · Palette generator →

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