#571E95#571E95

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

Color values

HEX#571E95
RGBrgb(87, 30, 149)
HSLhsl(269, 66%, 35%)
HSVhsv(269, 80%, 58%)
CMYKcmyk(41.6%, 79.9%, 0%, 41.6%)
CIE-LABlab(27.09, 48.88, -54.24)
CIE-LCHlch(27.09, 73.02, 312.03°)
OKLaboklab(39.37% 0.0882 -0.1551)
OKLCHoklch(39.37% 0.178 299.6)
XYZxyz(9.8182, 5.1246, 28.8998)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E95 #5C951E
analogous
#1E2195 #571E95 #921E95
triadic
#571E95 #95571E #1E9557
tetradic
#571E95 #951E21 #5C951E #1E9592
square
#571E95 #951E21 #5C951E #1E9592
split-complementary
#571E95 #95921E #21951E
monochromatic
#1C092F #391462 #571E95 #7528C8 #9451DC

Accessibility & contrast

On white

10.37
#571E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571E95
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E95#FFFFFF#000000##FFFFFF
##571E951.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571e95;
/* rgb */ color: rgb(87, 30, 149);
/* oklch */ color: oklch(39.4% 0.178 299.6);
Tailwind
colors: {
  custom: {
    50: '#8d61b5',
    500: '#571e95',
    950: '#000000',
  },
}
SCSS
$custom: #571e95;
$custom-light: #8d61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#571e95",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 268.739,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.17843,
    "h": 299.6
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#571E95
secondary
#8ABF50
accent
#E93E97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571E95

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

Preview Lab → · Contrast checker → · Palette generator →

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