#571F74#571F74

#571F74 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.142 H 311.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#571F74
RGBrgb(87, 31, 116)
HSLhsl(280, 58%, 29%)
HSVhsv(280, 73%, 45%)
CMYKcmyk(25%, 73.3%, 0%, 54.5%)
CIE-LABlab(24.54, 40.42, -37.69)
CIE-LCHlch(24.54, 55.26, 317.00°)
OKLaboklab(36.73% 0.0944 -0.1065)
OKLCHoklch(36.73% 0.142 311.6)
XYZxyz(7.5723, 4.2674, 16.9444)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F74 #3C741F
analogous
#2D1F74 #571F74 #741F67
triadic
#571F74 #74571F #1F7457
tetradic
#571F74 #742D1F #3C741F #1F6774
square
#571F74 #742D1F #3C741F #1F6774
split-complementary
#571F74 #67741F #1F742D
monochromatic
#120618 #331244 #571F74 #7B2CA4 #9D41CC

Accessibility & contrast

On white

11.33
#571F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F74
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F74#FFFFFF#000000##FFFFFF
##571F741.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#143B72
Tritanopia (blue-blind)
#533147
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571f74;
/* rgb */ color: rgb(87, 31, 116);
/* oklch */ color: oklch(36.7% 0.142 311.6);
Tailwind
colors: {
  custom: {
    50: '#8a609d',
    500: '#571f74',
    950: '#000000',
  },
}
SCSS
$custom: #571f74;
$custom-light: #8a609d;
$custom-dark: #000000;
JSON
{
  "hex": "#571f74",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 279.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36729,
    "c": 0.1423,
    "h": 311.6
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#571F74
secondary
#68A847
accent
#E1477B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571F74

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

Preview Lab → · Contrast checker → · Palette generator →

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