#571180#571180

#571180 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.169 H 308.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#571180
RGBrgb(87, 17, 128)
HSLhsl(278, 77%, 28%)
HSVhsv(278, 87%, 50%)
CMYKcmyk(32%, 86.7%, 0%, 49.8%)
CIE-LABlab(23.62, 48.57, -46.80)
CIE-LCHlch(23.62, 67.45, 316.06°)
OKLaboklab(36.39% 0.1045 -0.1332)
OKLCHoklch(36.39% 0.169 308.1)
XYZxyz(8.0264, 3.9858, 20.7644)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571180 #3A8011
analogous
#1F1180 #571180 #801171
triadic
#571180 #805711 #118057
tetradic
#571180 #801F11 #3A8011 #117180
square
#571180 #801F11 #3A8011 #117180
split-complementary
#571180 #718011 #11801F
monochromatic
#12041B #320A4A #571180 #7C18B6 #9E29E3

Accessibility & contrast

On white

11.68
#571180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#571180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571180
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571180#FFFFFF#000000##FFFFFF
##5711801.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#50304B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571180;
/* rgb */ color: rgb(87, 17, 128);
/* oklch */ color: oklch(36.4% 0.169 308.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ba6',
    500: '#571180',
    950: '#000000',
  },
}
SCSS
$custom: #571180;
$custom-light: #8b5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#571180",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 277.838,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.16926,
    "h": 308.1
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#571180
secondary
#66B637
accent
#F3357B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #571180

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

Preview Lab → · Contrast checker → · Palette generator →

#571180 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva