#572585#572585

#572585 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.153 H 303.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#572585
RGBrgb(87, 37, 133)
HSLhsl(271, 56%, 33%)
HSVhsv(271, 72%, 52%)
CMYKcmyk(34.6%, 72.2%, 0%, 47.8%)
CIE-LABlab(26.86, 41.68, -44.69)
CIE-LCHlch(26.86, 61.11, 313.00°)
OKLaboklab(38.79% 0.0852 -0.1271)
OKLCHoklch(38.79% 0.153 303.8)
XYZxyz(8.8247, 5.0428, 22.6942)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572585 #538525
analogous
#272585 #572585 #852583
triadic
#572585 #855725 #258557
tetradic
#572585 #852725 #538525 #258385
square
#572585 #852725 #538525 #258385
split-complementary
#572585 #838525 #258527
monochromatic
#180A25 #381855 #572585 #7632B5 #9555D0

Accessibility & contrast

On white

10.46
#572585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#572585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572585
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572585#FFFFFF#000000##FFFFFF
##5725851.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#4E3B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #572585;
/* rgb */ color: rgb(87, 37, 133);
/* oklch */ color: oklch(38.8% 0.153 303.8);
Tailwind
colors: {
  custom: {
    50: '#8b64a9',
    500: '#572585',
    950: '#000000',
  },
}
SCSS
$custom: #572585;
$custom-light: #8b64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#572585",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 271.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38792,
    "c": 0.15301,
    "h": 303.8
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#572585
secondary
#81B452
accent
#E04891
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572585

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

Preview Lab → · Contrast checker → · Palette generator →

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