#571990#571990

#571990 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.178 H 301.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#571990
RGBrgb(87, 25, 144)
HSLhsl(271, 70%, 33%)
HSVhsv(271, 83%, 56%)
CMYKcmyk(39.6%, 82.6%, 0%, 43.5%)
CIE-LABlab(25.97, 49.60, -52.99)
CIE-LCHlch(25.97, 72.58, 313.11°)
OKLaboklab(38.45% 0.0936 -0.1514)
OKLCHoklch(38.45% 0.178 301.7)
XYZxyz(9.3109, 4.7351, 26.8036)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571990 #529019
analogous
#1C1990 #571990 #90198D
triadic
#571990 #905719 #199057
tetradic
#571990 #901C19 #529019 #198D90
square
#571990 #901C19 #529019 #198D90
split-complementary
#571990 #8D9019 #19901C
monochromatic
#180728 #37105C #571990 #7722C4 #9545DF

Accessibility & contrast

On white

10.79
#571990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#571990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571990
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571990#FFFFFF#000000##FFFFFF
##5719901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#4A3A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571990;
/* rgb */ color: rgb(87, 25, 144);
/* oklch */ color: oklch(38.5% 0.178 301.7);
Tailwind
colors: {
  custom: {
    50: '#8d5fb1',
    500: '#571990',
    950: '#000000',
  },
}
SCSS
$custom: #571990;
$custom-light: #8d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#571990",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 271.261,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38454,
    "c": 0.17802,
    "h": 301.7
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#571990
secondary
#80C045
accent
#ED3B90
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571990

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

Preview Lab → · Contrast checker → · Palette generator →

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