#572386#572386

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

Color values

HEX#572386
RGBrgb(87, 35, 134)
HSLhsl(272, 59%, 33%)
HSVhsv(272, 74%, 53%)
CMYKcmyk(35.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(26.59, 42.90, -45.75)
CIE-LCHlch(26.59, 62.72, 313.16°)
OKLaboklab(38.63% 0.0872 -0.1302)
OKLCHoklch(38.63% 0.157 303.8)
XYZxyz(8.8336, 4.9495, 23.0396)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572386 #528623
analogous
#252386 #572386 #862383
triadic
#572386 #865723 #238657
tetradic
#572386 #862523 #528623 #238386
square
#572386 #862523 #528623 #238386
split-complementary
#572386 #838623 #238625
monochromatic
#180A25 #371655 #572386 #7730B7 #9552D2

Accessibility & contrast

On white

10.55
#572386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#572386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572386
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572386#FFFFFF#000000##FFFFFF
##5723861.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572386;
/* rgb */ color: rgb(87, 35, 134);
/* oklch */ color: oklch(38.6% 0.157 303.8);
Tailwind
colors: {
  custom: {
    50: '#8b63aa',
    500: '#572386',
    950: '#000000',
  },
}
SCSS
$custom: #572386;
$custom-light: #8b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#572386",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 271.515,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.15668,
    "h": 303.8
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#572386
secondary
#80B54F
accent
#E24690
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572386

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

Preview Lab → · Contrast checker → · Palette generator →

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