#571979#571979

#571979 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.155 H 310.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#571979
RGBrgb(87, 25, 121)
HSLhsl(279, 66%, 29%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(28.1%, 79.3%, 0%, 52.5%)
CIE-LABlab(24.01, 44.18, -41.74)
CIE-LCHlch(24.01, 60.77, 316.63°)
OKLaboklab(36.48% 0.0998 -0.1183)
OKLCHoklch(36.48% 0.155 310.1)
XYZxyz(7.7286, 4.1021, 18.4701)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571979 #3B7919
analogous
#271979 #571979 #79196B
triadic
#571979 #795719 #197957
tetradic
#571979 #792719 #3B7919 #196B79
square
#571979 #792719 #3B7919 #196B79
split-complementary
#571979 #6B7919 #197927
monochromatic
#120519 #330F46 #571979 #7B23AC #9D37D6

Accessibility & contrast

On white

11.54
#571979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571979
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571979#FFFFFF#000000##FFFFFF
##5719791.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#523048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571979;
/* rgb */ color: rgb(87, 25, 121);
/* oklch */ color: oklch(36.5% 0.155 310.1);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#571979',
    950: '#000000',
  },
}
SCSS
$custom: #571979;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#571979",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 278.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.15481,
    "h": 310.1
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#571979
secondary
#67AE40
accent
#E93F7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571979

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

Preview Lab → · Contrast checker → · Palette generator →

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