#571F75#571F75

#571F75 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.143 H 311.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#571F75
RGBrgb(87, 31, 117)
HSLhsl(279, 58%, 29%)
HSVhsv(279, 74%, 46%)
CMYKcmyk(25.6%, 73.5%, 0%, 54.1%)
CIE-LABlab(24.61, 40.65, -38.21)
CIE-LCHlch(24.61, 55.79, 316.78°)
OKLaboklab(36.81% 0.0943 -0.108)
OKLCHoklch(36.81% 0.143 311.1)
XYZxyz(7.6307, 4.2907, 17.2524)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F75 #3D751F
analogous
#2C1F75 #571F75 #751F68
triadic
#571F75 #75571F #1F7557
tetradic
#571F75 #752C1F #3D751F #1F6875
square
#571F75 #752C1F #3D751F #1F6875
split-complementary
#571F75 #68751F #1F752C
monochromatic
#120618 #331245 #571F75 #7B2CA5 #9C42CD

Accessibility & contrast

On white

11.30
#571F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F75
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F75#FFFFFF#000000##FFFFFF
##571F751.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#533248
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571f75;
/* rgb */ color: rgb(87, 31, 117);
/* oklch */ color: oklch(36.8% 0.143 311.1);
Tailwind
colors: {
  custom: {
    50: '#8a609d',
    500: '#571f75',
    950: '#000000',
  },
}
SCSS
$custom: #571f75;
$custom-light: #8a609d;
$custom-dark: #000000;
JSON
{
  "hex": "#571f75",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 279.07,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36805,
    "c": 0.14336,
    "h": 311.1
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#571F75
secondary
#69A947
accent
#E1467C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571F75

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

Preview Lab → · Contrast checker → · Palette generator →

#571F75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva