#571F95#571F95

#571F95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.177 H 299.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#571F95
RGBrgb(87, 31, 149)
HSLhsl(268, 66%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(41.6%, 79.2%, 0%, 41.6%)
CIE-LABlab(27.23, 48.47, -54.01)
CIE-LCHlch(27.23, 72.57, 311.91°)
OKLaboklab(39.47% 0.0873 -0.1544)
OKLCHoklch(39.47% 0.177 299.5)
XYZxyz(9.8439, 5.1760, 28.9084)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F95 #5D951F
analogous
#1F2295 #571F95 #921F95
triadic
#571F95 #95571F #1F9557
tetradic
#571F95 #951F22 #5D951F #1F9592
square
#571F95 #951F22 #5D951F #1F9592
split-complementary
#571F95 #95921F #22951F
monochromatic
#1C0A30 #391462 #571F95 #752AC8 #9453DB

Accessibility & contrast

On white

10.32
#571F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#571F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F95
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F95#FFFFFF#000000##FFFFFF
##571F951.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571f95;
/* rgb */ color: rgb(87, 31, 149);
/* oklch */ color: oklch(39.5% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#8d62b5',
    500: '#571f95',
    950: '#000000',
  },
}
SCSS
$custom: #571f95;
$custom-light: #8d62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#571f95",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 268.475,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.17742,
    "h": 299.5
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#571F95
secondary
#8BBF51
accent
#E93F98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F95

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

Preview Lab → · Contrast checker → · Palette generator →

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