#572391#572391

#572391 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.169 H 300.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#572391
RGBrgb(87, 35, 145)
HSLhsl(268, 61%, 35%)
HSVhsv(268, 76%, 57%)
CMYKcmyk(40%, 75.9%, 0%, 43.1%)
CIE-LABlab(27.50, 45.70, -51.11)
CIE-LCHlch(27.50, 68.56, 311.80°)
OKLaboklab(39.55% 0.0848 -0.1459)
OKLCHoklch(39.55% 0.169 300.2)
XYZxyz(9.6411, 5.2725, 27.2923)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572391 #5D9123
analogous
#232691 #572391 #8E2391
triadic
#572391 #915723 #239157
tetradic
#572391 #912326 #5D9123 #23918E
square
#572391 #912326 #5D9123 #23918E
split-complementary
#572391 #918E23 #269123
monochromatic
#1C0B2E #391760 #572391 #752FC2 #9458D7

Accessibility & contrast

On white

10.22
#572391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#572391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572391
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572391#FFFFFF#000000##FFFFFF
##5723911.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572391;
/* rgb */ color: rgb(87, 35, 145);
/* oklch */ color: oklch(39.6% 0.169 300.2);
Tailwind
colors: {
  custom: {
    50: '#8c63b2',
    500: '#572391',
    950: '#000000',
  },
}
SCSS
$custom: #572391;
$custom-light: #8c63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572391",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 268.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.1688,
    "h": 300.2
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#572391
secondary
#8BBB55
accent
#E44498
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572391

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

Preview Lab → · Contrast checker → · Palette generator →

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