#570F52#570F52

#570F52 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.130 H 331.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#570F52
RGBrgb(87, 15, 82)
HSLhsl(304, 71%, 20%)
HSVhsv(304, 83%, 34%)
CMYKcmyk(0%, 82.8%, 5.7%, 65.9%)
CIE-LABlab(19.95, 39.87, -22.67)
CIE-LCHlch(19.95, 45.87, 330.37°)
OKLaboklab(32.72% 0.1138 -0.0625)
OKLCHoklch(32.72% 0.13 331.2)
XYZxyz(5.6243, 2.9775, 8.2595)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#570F52 #0F5714
analogous
#380F57 #570F52 #570F2E
triadic
#570F52 #52570F #0F5257
tetradic
#570F52 #57380F #0F5714 #0F2E57
square
#570F52 #57380F #0F5714 #0F2E57
split-complementary
#570F52 #2E570F #0F5738
monochromatic
#1A0519 #230621 #570F52 #8B1883 #BF21B4

Accessibility & contrast

On white

13.16
#570F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#570F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #570F52
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##570F52#FFFFFF#000000##FFFFFF
##570F521.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#5B1930
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #570f52;
/* rgb */ color: rgb(87, 15, 82);
/* oklch */ color: oklch(32.7% 0.130 331.2);
Tailwind
colors: {
  custom: {
    50: '#895783',
    500: '#570f52',
    950: '#000000',
  },
}
SCSS
$custom: #570f52;
$custom-light: #895783;
$custom-dark: #000000;
JSON
{
  "hex": "#570f52",
  "rgb": {
    "r": 87,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 304.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.32718,
    "c": 0.12986,
    "h": 331.2
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#570F52
secondary
#319138
accent
#ED473A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #570F52

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

Preview Lab → · Contrast checker → · Palette generator →

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