#571F9E#571F9E

#571F9E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.187 H 296.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#571F9E
RGBrgb(87, 31, 158)
HSLhsl(266, 67%, 37%)
HSVhsv(266, 80%, 62%)
CMYKcmyk(44.9%, 80.4%, 0%, 38%)
CIE-LABlab(28.05, 50.74, -58.18)
CIE-LCHlch(28.05, 77.20, 311.09°)
OKLaboklab(40.29% 0.0846 -0.1667)
OKLCHoklch(40.29% 0.187 296.9)
XYZxyz(10.5904, 5.4746, 32.8399)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F9E #669E1F
analogous
#1F269E #571F9E #971F9E
triadic
#571F9E #9E571F #1F9E57
tetradic
#571F9E #9E1F26 #669E1F #1F9E97
square
#571F9E #9E1F26 #669E1F #1F9E97
split-complementary
#571F9E #9E971F #269E1F
monochromatic
#1F0B38 #3B156B #571F9E #7329D1 #9459DE

Accessibility & contrast

On white

10.02
#571F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#571F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F9E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F9E#FFFFFF#000000##FFFFFF
##571F9E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#44435F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #571f9e;
/* rgb */ color: rgb(87, 31, 158);
/* oklch */ color: oklch(40.3% 0.187 296.9);
Tailwind
colors: {
  custom: {
    50: '#8e62bc',
    500: '#571f9e',
    950: '#000000',
  },
}
SCSS
$custom: #571f9e;
$custom-light: #8e62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#571f9e",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 266.457,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.18694,
    "h": 296.9
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#571F9E
secondary
#93C256
accent
#EA3E9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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