#571C98#571C98

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

Color values

HEX#571C98
RGBrgb(87, 28, 152)
HSLhsl(269, 69%, 35%)
HSVhsv(269, 82%, 60%)
CMYKcmyk(42.8%, 81.6%, 0%, 40.4%)
CIE-LABlab(27.08, 50.43, -56.09)
CIE-LCHlch(27.08, 75.43, 311.96°)
OKLaboklab(39.45% 0.0888 -0.1605)
OKLCHoklch(39.45% 0.183 298.9)
XYZxyz(10.0118, 5.1236, 30.1612)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C98 #5D981C
analogous
#1C1F98 #571C98 #951C98
triadic
#571C98 #98571C #1C9857
tetradic
#571C98 #981C1F #5D981C #1C9895
square
#571C98 #981C1F #5D981C #1C9895
split-complementary
#571C98 #98951C #1F981C
monochromatic
#1C0931 #391264 #571C98 #7526CC #9450DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##571C98#FFFFFF#000000##FFFFFF
##571C981.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#473F5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571c98;
/* rgb */ color: rgb(87, 28, 152);
/* oklch */ color: oklch(39.5% 0.183 298.9);
Tailwind
colors: {
  custom: {
    50: '#8d60b7',
    500: '#571c98',
    950: '#000000',
  },
}
SCSS
$custom: #571c98;
$custom-light: #8d60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#571c98",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 268.548,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.18345,
    "h": 298.9
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#571C98
secondary
#8BC14E
accent
#EC3C98
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C98

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

Preview Lab → · Contrast checker → · Palette generator →

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