#571F93#571F93

#571F93 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.175 H 300.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#571F93
RGBrgb(87, 31, 147)
HSLhsl(269, 65%, 35%)
HSVhsv(269, 79%, 58%)
CMYKcmyk(40.8%, 78.9%, 0%, 42.4%)
CIE-LABlab(27.05, 47.97, -53.07)
CIE-LCHlch(27.05, 71.53, 312.11°)
OKLaboklab(39.29% 0.0879 -0.1517)
OKLCHoklch(39.29% 0.175 300.1)
XYZxyz(9.6856, 5.1127, 28.0747)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F93 #5B931F
analogous
#1F2193 #571F93 #911F93
triadic
#571F93 #93571F #1F9357
tetradic
#571F93 #931F21 #5B931F #1F9391
square
#571F93 #931F21 #5B931F #1F9391
split-complementary
#571F93 #93911F #21931F
monochromatic
#1B0A2E #391460 #571F93 #752AC6 #9452DA

Accessibility & contrast

On white

10.38
#571F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#571F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F93
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F93#FFFFFF#000000##FFFFFF
##571F931.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#493E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571f93;
/* rgb */ color: rgb(87, 31, 147);
/* oklch */ color: oklch(39.3% 0.175 300.1);
Tailwind
colors: {
  custom: {
    50: '#8d61b4',
    500: '#571f93',
    950: '#000000',
  },
}
SCSS
$custom: #571f93;
$custom-light: #8d61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#571f93",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 268.966,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39294,
    "c": 0.1753,
    "h": 300.1
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#571F93
secondary
#89BE50
accent
#E84097
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F93

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

Preview Lab → · Contrast checker → · Palette generator →

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