#572097#572097

#572097 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.179 H 298.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#572097
RGBrgb(87, 32, 151)
HSLhsl(268, 65%, 36%)
HSVhsv(268, 79%, 59%)
CMYKcmyk(42.4%, 78.8%, 0%, 40.8%)
CIE-LABlab(27.56, 48.55, -54.71)
CIE-LCHlch(27.56, 73.15, 311.59°)
OKLaboklab(39.75% 0.0859 -0.1565)
OKLCHoklch(39.75% 0.179 298.8)
XYZxyz(10.0315, 5.2935, 29.7654)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572097 #609720
analogous
#202597 #572097 #922097
triadic
#572097 #975720 #209757
tetradic
#572097 #972025 #609720 #209792
square
#572097 #972025 #609720 #209792
split-complementary
#572097 #979220 #259720
monochromatic
#1D0B32 #3A1564 #572097 #742BC9 #9456DB

Accessibility & contrast

On white

10.20
#572097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#572097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572097
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572097#FFFFFF#000000##FFFFFF
##5720971.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#47405B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572097;
/* rgb */ color: rgb(87, 32, 151);
/* oklch */ color: oklch(39.8% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#8d62b7',
    500: '#572097',
    950: '#000000',
  },
}
SCSS
$custom: #572097;
$custom-light: #8d62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#572097",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 267.731,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.17853,
    "h": 298.8
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#572097
secondary
#8DBF54
accent
#E8409A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572097

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

Preview Lab → · Contrast checker → · Palette generator →

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