#571F94#571F94

#571F94 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.176 H 299.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#571F94
RGBrgb(87, 31, 148)
HSLhsl(269, 65%, 35%)
HSVhsv(269, 79%, 58%)
CMYKcmyk(41.2%, 79.1%, 0%, 42%)
CIE-LABlab(27.14, 48.22, -53.54)
CIE-LCHlch(27.14, 72.05, 312.01°)
OKLaboklab(39.38% 0.0876 -0.1531)
OKLCHoklch(39.38% 0.176 299.8)
XYZxyz(9.7644, 5.1442, 28.4897)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F94 #5C941F
analogous
#1F2194 #571F94 #911F94
triadic
#571F94 #94571F #1F9457
tetradic
#571F94 #941F21 #5C941F #1F9491
square
#571F94 #941F21 #5C941F #1F9491
split-complementary
#571F94 #94911F #21941F
monochromatic
#1C0A2F #391461 #571F94 #752AC7 #9453DB

Accessibility & contrast

On white

10.35
#571F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#571F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F94
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F94#FFFFFF#000000##FFFFFF
##571F941.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#483F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571f94;
/* rgb */ color: rgb(87, 31, 148);
/* oklch */ color: oklch(39.4% 0.176 299.8);
Tailwind
colors: {
  custom: {
    50: '#8d62b4',
    500: '#571f94',
    950: '#000000',
  },
}
SCSS
$custom: #571f94;
$custom-light: #8d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#571f94",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 268.718,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.17636,
    "h": 299.8
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#571F94
secondary
#8ABE51
accent
#E83F98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F94

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

Preview Lab → · Contrast checker → · Palette generator →

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