#572091#572091

#572091 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.172 H 300.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#572091
RGBrgb(87, 32, 145)
HSLhsl(269, 64%, 35%)
HSVhsv(269, 78%, 57%)
CMYKcmyk(40%, 77.9%, 0%, 43.1%)
CIE-LABlab(27.03, 47.04, -51.87)
CIE-LCHlch(27.03, 70.02, 312.20°)
OKLaboklab(39.22% 0.0876 -0.1482)
OKLCHoklch(39.22% 0.172 300.6)
XYZxyz(9.5566, 5.1035, 27.2642)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572091 #5A9120
analogous
#202191 #572091 #902091
triadic
#572091 #915720 #209157
tetradic
#572091 #912021 #5A9120 #209190
square
#572091 #912021 #5A9120 #209190
split-complementary
#572091 #919020 #219120
monochromatic
#1B0A2D #39155F #572091 #752BC3 #9452D9

Accessibility & contrast

On white

10.39
#572091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#572091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572091
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572091#FFFFFF#000000##FFFFFF
##5720911.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#4A3E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572091;
/* rgb */ color: rgb(87, 32, 145);
/* oklch */ color: oklch(39.2% 0.172 300.6);
Tailwind
colors: {
  custom: {
    50: '#8c62b2',
    500: '#572091',
    950: '#000000',
  },
}
SCSS
$custom: #572091;
$custom-light: #8c62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572091",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 269.204,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39222,
    "c": 0.17212,
    "h": 300.6
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#572091
secondary
#88BC51
accent
#E74196
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572091

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

Preview Lab → · Contrast checker → · Palette generator →

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