#572597#572597

#572597 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.173 H 298.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#572597
RGBrgb(87, 37, 151)
HSLhsl(266, 61%, 37%)
HSVhsv(266, 75%, 59%)
CMYKcmyk(42.4%, 75.5%, 0%, 40.8%)
CIE-LABlab(28.34, 46.32, -53.43)
CIE-LCHlch(28.34, 70.71, 310.92°)
OKLaboklab(40.3% 0.0815 -0.1528)
OKLCHoklch(40.3% 0.173 298.1)
XYZxyz(10.1765, 5.5836, 29.8137)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572597 #659725
analogous
#252C97 #572597 #902597
triadic
#572597 #975725 #259757
tetradic
#572597 #97252C #659725 #259790
square
#572597 #97252C #659725 #259790
split-complementary
#572597 #979025 #2C9725
monochromatic
#1E0D35 #3B1966 #572597 #7331C8 #945FD8

Accessibility & contrast

On white

9.92
#572597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#572597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572597
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572597#FFFFFF#000000##FFFFFF
##5725971.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#47435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572597;
/* rgb */ color: rgb(87, 37, 151);
/* oklch */ color: oklch(40.3% 0.173 298.1);
Tailwind
colors: {
  custom: {
    50: '#8d65b6',
    500: '#572597',
    950: '#000000',
  },
}
SCSS
$custom: #572597;
$custom-light: #8d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572597",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 266.316,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.17316,
    "h": 298.1
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#572597
secondary
#92BD5B
accent
#E4449E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572597

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

Preview Lab → · Contrast checker → · Palette generator →

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