#572291#572291

#572291 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.170 H 300.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#572291
RGBrgb(87, 34, 145)
HSLhsl(269, 62%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(40%, 76.6%, 0%, 43.1%)
CIE-LABlab(27.34, 46.15, -51.37)
CIE-LCHlch(27.34, 69.06, 311.94°)
OKLaboklab(39.44% 0.0857 -0.1467)
OKLCHoklch(39.44% 0.17 300.3)
XYZxyz(9.6121, 5.2145, 27.2827)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572291 #5C9122
analogous
#222491 #572291 #8F2291
triadic
#572291 #915722 #229157
tetradic
#572291 #912224 #5C9122 #22918F
square
#572291 #912224 #5C9122 #22918F
split-complementary
#572291 #918F22 #249122
monochromatic
#1C0B2E #39165F #572291 #752EC3 #9456D7

Accessibility & contrast

On white

10.28
#572291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#572291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572291
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572291#FFFFFF#000000##FFFFFF
##5722911.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#4A3F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572291;
/* rgb */ color: rgb(87, 34, 145);
/* oklch */ color: oklch(39.4% 0.170 300.3);
Tailwind
colors: {
  custom: {
    50: '#8c63b2',
    500: '#572291',
    950: '#000000',
  },
}
SCSS
$custom: #572291;
$custom-light: #8c63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572291",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 268.649,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.16993,
    "h": 300.3
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#572291
secondary
#8ABB53
accent
#E54398
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572291

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

Preview Lab → · Contrast checker → · Palette generator →

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