#572991#572991

#572991 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.162 H 299.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#572991
RGBrgb(87, 41, 145)
HSLhsl(267, 56%, 36%)
HSVhsv(267, 72%, 57%)
CMYKcmyk(40%, 71.7%, 0%, 43.1%)
CIE-LABlab(28.53, 42.79, -49.43)
CIE-LCHlch(28.53, 65.38, 310.88°)
OKLaboklab(40.28% 0.0788 -0.1411)
OKLCHoklch(40.28% 0.162 299.2)
XYZxyz(9.8330, 5.6563, 27.3563)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572991 #639129
analogous
#292F91 #572991 #8B2991
triadic
#572991 #915729 #299157
tetradic
#572991 #91292F #639129 #29918B
square
#572991 #91292F #639129 #29918B
split-complementary
#572991 #918B29 #2F9129
monochromatic
#1E0E32 #3A1C61 #572991 #7436C1 #9462D3

Accessibility & contrast

On white

9.85
#572991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#572991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572991
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572991#FFFFFF#000000##FFFFFF
##5729911.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#49425A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572991;
/* rgb */ color: rgb(87, 41, 145);
/* oklch */ color: oklch(40.3% 0.162 299.2);
Tailwind
colors: {
  custom: {
    50: '#8c67b2',
    500: '#572991',
    950: '#000000',
  },
}
SCSS
$custom: #572991;
$custom-light: #8c67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572991",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 266.538,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.16157,
    "h": 299.2
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#572991
secondary
#90B85D
accent
#DF499D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #572991

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

Preview Lab → · Contrast checker → · Palette generator →

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