#572579#572579

#572579 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.139 H 308.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#572579
RGBrgb(87, 37, 121)
HSLhsl(276, 53%, 31%)
HSVhsv(276, 69%, 47%)
CMYKcmyk(28.1%, 69.4%, 0%, 52.5%)
CIE-LABlab(25.95, 38.69, -38.59)
CIE-LCHlch(25.95, 54.64, 315.07°)
OKLaboklab(37.86% 0.0868 -0.1092)
OKLCHoklch(37.86% 0.139 308.5)
XYZxyz(8.0425, 4.7300, 18.5747)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572579 #477925
analogous
#2D2579 #572579 #792571
triadic
#572579 #795725 #257957
tetradic
#572579 #792D25 #477925 #257179
square
#572579 #792D25 #477925 #257179
split-complementary
#572579 #717925 #25792D
monochromatic
#14081B #35174A #572579 #7933A8 #984FC9

Accessibility & contrast

On white

10.79
#572579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#572579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572579
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572579#FFFFFF#000000##FFFFFF
##5725791.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#153E77
Tritanopia (blue-blind)
#52374C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #572579;
/* rgb */ color: rgb(87, 37, 121);
/* oklch */ color: oklch(37.9% 0.139 308.5);
Tailwind
colors: {
  custom: {
    50: '#8a63a0',
    500: '#572579',
    950: '#000000',
  },
}
SCSS
$custom: #572579;
$custom-light: #8a63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#572579",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 275.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.13946,
    "h": 308.5
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#572579
secondary
#74AB4E
accent
#DD4B86
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #572579

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

Preview Lab → · Contrast checker → · Palette generator →

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