#572596#572596

#572596 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.172 H 298.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#572596
RGBrgb(87, 37, 150)
HSLhsl(267, 60%, 37%)
HSVhsv(267, 75%, 59%)
CMYKcmyk(42%, 75.3%, 0%, 41.2%)
CIE-LABlab(28.25, 46.06, -52.96)
CIE-LCHlch(28.25, 70.18, 311.01°)
OKLaboklab(40.22% 0.0817 -0.1514)
OKLCHoklch(40.22% 0.172 298.4)
XYZxyz(10.0957, 5.5512, 29.3878)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572596 #649625
analogous
#252B96 #572596 #902596
triadic
#572596 #965725 #259657
tetradic
#572596 #96252B #649625 #259690
square
#572596 #96252B #649625 #259690
split-complementary
#572596 #969025 #2B9625
monochromatic
#1E0D34 #3B1965 #572596 #7331C7 #945ED7

Accessibility & contrast

On white

9.95
#572596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#572596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572596
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572596#FFFFFF#000000##FFFFFF
##5725961.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#47425C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572596;
/* rgb */ color: rgb(87, 37, 150);
/* oklch */ color: oklch(40.2% 0.172 298.4);
Tailwind
colors: {
  custom: {
    50: '#8c65b6',
    500: '#572596',
    950: '#000000',
  },
}
SCSS
$custom: #572596;
$custom-light: #8c65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572596",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 266.549,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40215,
    "c": 0.17205,
    "h": 298.4
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#572596
secondary
#91BC5B
accent
#E4449D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572596

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

Preview Lab → · Contrast checker → · Palette generator →

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