#571989#571989

#571989 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.171 H 304.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#571989
RGBrgb(87, 25, 137)
HSLhsl(273, 69%, 32%)
HSVhsv(273, 82%, 54%)
CMYKcmyk(36.5%, 81.8%, 0%, 46.3%)
CIE-LABlab(25.34, 47.92, -49.65)
CIE-LCHlch(25.34, 69.01, 313.98°)
OKLaboklab(37.83% 0.0958 -0.1416)
OKLCHoklch(37.83% 0.171 304.1)
XYZxyz(8.7924, 4.5277, 24.0728)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571989 #4B8919
analogous
#1F1989 #571989 #891983
triadic
#571989 #895719 #198957
tetradic
#571989 #891F19 #4B8919 #198389
square
#571989 #891F19 #4B8919 #198389
split-complementary
#571989 #838919 #19891F
monochromatic
#150621 #361055 #571989 #7822BD #9740DC

Accessibility & contrast

On white

11.02
#571989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571989
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571989#FFFFFF#000000##FFFFFF
##5719891.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4D3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571989;
/* rgb */ color: rgb(87, 25, 137);
/* oklch */ color: oklch(37.8% 0.171 304.1);
Tailwind
colors: {
  custom: {
    50: '#8c5eac',
    500: '#571989',
    950: '#000000',
  },
}
SCSS
$custom: #571989;
$custom-light: #8c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#571989",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 273.214,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37829,
    "c": 0.17093,
    "h": 304.1
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#571989
secondary
#78BC41
accent
#EC3C8A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571989

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

Preview Lab → · Contrast checker → · Palette generator →

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