#572191#572191

#572191 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.171 H 300.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#572191
RGBrgb(87, 33, 145)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(40%, 77.2%, 0%, 43.1%)
CIE-LABlab(27.18, 46.60, -51.62)
CIE-LCHlch(27.18, 69.54, 312.07°)
OKLaboklab(39.33% 0.0867 -0.1475)
OKLCHoklch(39.33% 0.171 300.4)
XYZxyz(9.5839, 5.1582, 27.2733)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572191 #5B9121
analogous
#212391 #572191 #8F2191
triadic
#572191 #915721 #219157
tetradic
#572191 #912123 #5B9121 #21918F
square
#572191 #912123 #5B9121 #21918F
split-complementary
#572191 #918F21 #239121
monochromatic
#1B0A2D #39165F #572191 #752CC3 #9454D8

Accessibility & contrast

On white

10.34
#572191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#572191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572191
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572191#FFFFFF#000000##FFFFFF
##5721911.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572191;
/* rgb */ color: rgb(87, 33, 145);
/* oklch */ color: oklch(39.3% 0.171 300.4);
Tailwind
colors: {
  custom: {
    50: '#8c62b2',
    500: '#572191',
    950: '#000000',
  },
}
SCSS
$custom: #572191;
$custom-light: #8c62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572191",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 268.929,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39329,
    "c": 0.17104,
    "h": 300.4
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#572191
secondary
#89BC52
accent
#E64297
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572191

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

Preview Lab → · Contrast checker → · Palette generator →

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