#572190#572190

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

Color values

HEX#572190
RGBrgb(87, 33, 144)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 77%, 56%)
CMYKcmyk(39.6%, 77.1%, 0%, 43.5%)
CIE-LABlab(27.09, 46.34, -51.15)
CIE-LCHlch(27.09, 69.02, 312.18°)
OKLaboklab(39.24% 0.0869 -0.1461)
OKLCHoklch(39.24% 0.17 300.8)
XYZxyz(9.5071, 5.1275, 26.8690)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572190 #5A9021
analogous
#212390 #572190 #8F2190
triadic
#572190 #905721 #219057
tetradic
#572190 #902123 #5A9021 #21908F
square
#572190 #902123 #5A9021 #21908F
split-complementary
#572190 #908F21 #239021
monochromatic
#1B0A2C #39165E #572190 #752CC2 #9454D8

Accessibility & contrast

On white

10.37
#572190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572190
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572190#FFFFFF#000000##FFFFFF
##5721901.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#4A3E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572190;
/* rgb */ color: rgb(87, 33, 144);
/* oklch */ color: oklch(39.2% 0.170 300.8);
Tailwind
colors: {
  custom: {
    50: '#8c62b1',
    500: '#572190',
    950: '#000000',
  },
}
SCSS
$custom: #572190;
$custom-light: #8c62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#572190",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 269.189,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.16995,
    "h": 300.8
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#572190
secondary
#88BB51
accent
#E64296
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572190

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

Preview Lab → · Contrast checker → · Palette generator →

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