#570D52#570D52

#570D52 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.132 H 331.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#570D52
RGBrgb(87, 13, 82)
HSLhsl(304, 74%, 20%)
HSVhsv(304, 85%, 34%)
CMYKcmyk(0%, 85.1%, 5.7%, 65.9%)
CIE-LABlab(19.74, 40.50, -23.02)
CIE-LCHlch(19.74, 46.58, 330.39°)
OKLaboklab(32.56% 0.1156 -0.0635)
OKLCHoklch(32.56% 0.132 331.2)
XYZxyz(5.5974, 2.9237, 8.2505)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#570D52 #0D5712
analogous
#370D57 #570D52 #570D2D
triadic
#570D52 #52570D #0D5257
tetradic
#570D52 #57370D #0D5712 #0D2D57
square
#570D52 #57370D #0D5712 #0D2D57
split-complementary
#570D52 #2D570D #0D5737
monochromatic
#1B0419 #220520 #570D52 #8C1584 #C11DB6

Accessibility & contrast

On white

13.25
#570D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#570D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #570D52
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##570D52#FFFFFF#000000##FFFFFF
##570D521.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052954
Deuteranopia (green-blind)
#263350
Tritanopia (blue-blind)
#5B172F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #570d52;
/* rgb */ color: rgb(87, 13, 82);
/* oklch */ color: oklch(32.6% 0.132 331.2);
Tailwind
colors: {
  custom: {
    50: '#895683',
    500: '#570d52',
    950: '#000000',
  },
}
SCSS
$custom: #570d52;
$custom-light: #895683;
$custom-dark: #000000;
JSON
{
  "hex": "#570d52",
  "rgb": {
    "r": 87,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 304.054,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.13193,
    "h": 331.2
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#570D52
secondary
#2E9235
accent
#F14437
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #570D52

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

Preview Lab → · Contrast checker → · Palette generator →

#570D52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva