#572397#572397

#572397 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.175 H 298.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#572397
RGBrgb(87, 35, 151)
HSLhsl(267, 62%, 36%)
HSVhsv(267, 77%, 59%)
CMYKcmyk(42.4%, 76.8%, 0%, 40.8%)
CIE-LABlab(28.01, 47.24, -53.96)
CIE-LCHlch(28.01, 71.71, 311.20°)
OKLaboklab(40.08% 0.0833 -0.1543)
OKLCHoklch(40.08% 0.175 298.4)
XYZxyz(10.1160, 5.4625, 29.7936)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572397 #639723
analogous
#232997 #572397 #912397
triadic
#572397 #975723 #239757
tetradic
#572397 #972329 #639723 #239791
square
#572397 #972329 #639723 #239791
split-complementary
#572397 #979123 #299723
monochromatic
#1E0C34 #3A1765 #572397 #742FC9 #945BD9

Accessibility & contrast

On white

10.04
#572397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#572397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572397
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572397#FFFFFF#000000##FFFFFF
##5723971.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#47425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572397;
/* rgb */ color: rgb(87, 35, 151);
/* oklch */ color: oklch(40.1% 0.175 298.4);
Tailwind
colors: {
  custom: {
    50: '#8d64b7',
    500: '#572397',
    950: '#000000',
  },
}
SCSS
$custom: #572397;
$custom-light: #8d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#572397",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 266.897,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.17537,
    "h": 298.4
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#572397
secondary
#90BE58
accent
#E5429C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572397

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

Preview Lab → · Contrast checker → · Palette generator →

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