#572F97#572F97

#572F97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.161 H 296.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#572F97
RGBrgb(87, 47, 151)
HSLhsl(263, 53%, 39%)
HSVhsv(263, 69%, 59%)
CMYKcmyk(42.4%, 68.9%, 0%, 40.8%)
CIE-LABlab(30.14, 41.27, -50.49)
CIE-LCHlch(30.14, 65.21, 309.26°)
OKLaboklab(41.58% 0.0714 -0.1442)
OKLCHoklch(41.58% 0.161 296.3)
XYZxyz(10.5314, 6.2934, 29.9320)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572F97 #6F972F
analogous
#2F3B97 #572F97 #8B2F97
triadic
#572F97 #97572F #2F9757
tetradic
#572F97 #972F3B #6F972F #2F978B
square
#572F97 #972F3B #6F972F #2F978B
split-complementary
#572F97 #978B2F #3B972F
monochromatic
#21123A #3C2068 #572F97 #7240C3 #956ED2

Accessibility & contrast

On white

9.30
#572F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#572F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572F97
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572F97#FFFFFF#000000##FFFFFF
##572F971.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#47485F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #572f97;
/* rgb */ color: rgb(87, 47, 151);
/* oklch */ color: oklch(41.6% 0.161 296.3);
Tailwind
colors: {
  custom: {
    50: '#8c6ab6',
    500: '#572f97',
    950: '#000000',
  },
}
SCSS
$custom: #572f97;
$custom-light: #8c6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#572f97",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 263.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.1609,
    "h": 296.3
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#572F97
secondary
#9AB968
accent
#DC4CA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #572F97

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

Preview Lab → · Contrast checker → · Palette generator →

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