#573158#573158

#573158 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.6% C 0.080 H 326.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#573158
RGBrgb(87, 49, 88)
HSLhsl(298, 28%, 27%)
HSVhsv(298, 44%, 35%)
CMYKcmyk(1.1%, 44.3%, 0%, 65.5%)
CIE-LABlab(26.53, 24.16, -16.38)
CIE-LCHlch(26.53, 29.19, 325.86°)
OKLaboklab(37.64% 0.0666 -0.0447)
OKLCHoklch(37.64% 0.08 326.1)
XYZxyz(6.7901, 4.9277, 9.8241)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573158 #325831
analogous
#443158 #573158 #583146
triadic
#573158 #585731 #315857
tetradic
#573158 #584431 #325831 #314658
square
#573158 #584431 #325831 #314658
split-complementary
#573158 #465831 #315844
monochromatic
#130B14 #301B31 #573158 #7E477F #A45EA5

Accessibility & contrast

On white

10.58
#573158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573158
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573158#FFFFFF#000000##FFFFFF
##5731581.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C59
Deuteranopia (green-blind)
#384057
Tritanopia (blue-blind)
#593540
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #573158;
/* rgb */ color: rgb(87, 49, 88);
/* oklch */ color: oklch(37.6% 0.080 326.1);
Tailwind
colors: {
  custom: {
    50: '#876a87',
    500: '#573158',
    950: '#000000',
  },
}
SCSS
$custom: #573158;
$custom-light: #876a87;
$custom-dark: #000000;
JSON
{
  "hex": "#573158",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 298.462,
    "s": 28.467,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37643,
    "c": 0.08026,
    "h": 326.1
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#573158
secondary
#5D895C
accent
#C56366
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #573158

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

Preview Lab → · Contrast checker → · Palette generator →

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