#571958#571958

#571958 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.123 H 327.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#571958
RGBrgb(87, 25, 88)
HSLhsl(299, 56%, 22%)
HSVhsv(299, 72%, 35%)
CMYKcmyk(1.1%, 71.6%, 0%, 65.5%)
CIE-LABlab(21.68, 37.12, -23.97)
CIE-LCHlch(21.68, 44.19, 327.14°)
OKLaboklab(34.07% 0.103 -0.0664)
OKLCHoklch(34.07% 0.123 327.2)
XYZxyz(6.0395, 3.4265, 9.5739)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571958 #1A5819
analogous
#381958 #571958 #581939
triadic
#571958 #585719 #195857
tetradic
#571958 #583819 #1A5819 #193958
square
#571958 #583819 #1A5819 #193958
split-complementary
#571958 #395819 #195838
monochromatic
#180718 #280B28 #571958 #862788 #B534B7

Accessibility & contrast

On white

12.46
#571958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#571958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571958
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571958#FFFFFF#000000##FFFFFF
##5719581.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#5A2236
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571958;
/* rgb */ color: rgb(87, 25, 88);
/* oklch */ color: oklch(34.1% 0.123 327.2);
Tailwind
colors: {
  custom: {
    50: '#895c87',
    500: '#571958',
    950: '#000000',
  },
}
SCSS
$custom: #571958;
$custom-light: #895c87;
$custom-dark: #000000;
JSON
{
  "hex": "#571958",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 299.048,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34073,
    "c": 0.12251,
    "h": 327.2
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#571958
secondary
#408E3E
accent
#DF494B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #571958

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

Preview Lab → · Contrast checker → · Palette generator →

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