#572C95#572C95

#572C95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.162 H 297.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#572C95
RGBrgb(87, 44, 149)
HSLhsl(265, 54%, 38%)
HSVhsv(265, 70%, 58%)
CMYKcmyk(41.6%, 70.5%, 0%, 41.6%)
CIE-LABlab(29.41, 42.31, -50.46)
CIE-LCHlch(29.41, 65.85, 309.98°)
OKLaboklab(41.01% 0.0749 -0.1441)
OKLCHoklch(41.01% 0.162 297.5)
XYZxyz(10.2546, 5.9974, 29.0453)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572C95 #6A952C
analogous
#2C3695 #572C95 #8B2C95
triadic
#572C95 #95572C #2C9557
tetradic
#572C95 #952C36 #6A952C #2C958B
square
#572C95 #952C36 #6A952C #2C958B
split-complementary
#572C95 #958B2C #36952C
monochromatic
#201037 #3B1E66 #572C95 #733AC4 #9469D3

Accessibility & contrast

On white

9.55
#572C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#572C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572C95
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572C95#FFFFFF#000000##FFFFFF
##572C951.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#48455D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #572c95;
/* rgb */ color: rgb(87, 44, 149);
/* oklch */ color: oklch(41.0% 0.162 297.5);
Tailwind
colors: {
  custom: {
    50: '#8c69b5',
    500: '#572c95',
    950: '#000000',
  },
}
SCSS
$custom: #572c95;
$custom-light: #8c69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#572c95",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 264.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.16242,
    "h": 297.5
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#572C95
secondary
#96B964
accent
#DE4AA1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #572C95

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

Preview Lab → · Contrast checker → · Palette generator →

#572C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva