#572497#572497

#572497 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.174 H 298.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#572497
RGBrgb(87, 36, 151)
HSLhsl(267, 61%, 37%)
HSVhsv(267, 76%, 59%)
CMYKcmyk(42.4%, 76.2%, 0%, 40.8%)
CIE-LABlab(28.17, 46.78, -53.70)
CIE-LCHlch(28.17, 71.22, 311.06°)
OKLaboklab(40.19% 0.0824 -0.1536)
OKLCHoklch(40.19% 0.174 298.2)
XYZxyz(10.1458, 5.5222, 29.8035)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572497 #649724
analogous
#242B97 #572497 #912497
triadic
#572497 #975724 #249757
tetradic
#572497 #97242B #649724 #249791
square
#572497 #97242B #649724 #249791
split-complementary
#572497 #979124 #2B9724
monochromatic
#1E0C34 #3B1866 #572497 #7330C8 #945DD8

Accessibility & contrast

On white

9.98
#572497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#572497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572497
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572497#FFFFFF#000000##FFFFFF
##5724971.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#47425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572497;
/* rgb */ color: rgb(87, 36, 151);
/* oklch */ color: oklch(40.2% 0.174 298.2);
Tailwind
colors: {
  custom: {
    50: '#8d64b7',
    500: '#572497',
    950: '#000000',
  },
}
SCSS
$custom: #572497;
$custom-light: #8d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#572497",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 266.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.17428,
    "h": 298.2
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#572497
secondary
#91BD5A
accent
#E5439D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572497

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

Preview Lab → · Contrast checker → · Palette generator →

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