#572591#572591

#572591 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.166 H 299.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#572591
RGBrgb(87, 37, 145)
HSLhsl(268, 59%, 36%)
HSVhsv(268, 74%, 57%)
CMYKcmyk(40%, 74.5%, 0%, 43.1%)
CIE-LABlab(27.83, 44.76, -50.57)
CIE-LCHlch(27.83, 67.53, 311.51°)
OKLaboklab(39.78% 0.0829 -0.1444)
OKLCHoklch(39.78% 0.166 299.9)
XYZxyz(9.7016, 5.3936, 27.3125)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572591 #5F9125
analogous
#252991 #572591 #8D2591
triadic
#572591 #915725 #259157
tetradic
#572591 #912529 #5F9125 #25918D
square
#572591 #912529 #5F9125 #25918D
split-complementary
#572591 #918D25 #299125
monochromatic
#1C0C2F #3A1960 #572591 #7431C2 #945BD5

Accessibility & contrast

On white

10.10
#572591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#572591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572591
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572591#FFFFFF#000000##FFFFFF
##5725911.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#4A4059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572591;
/* rgb */ color: rgb(87, 37, 145);
/* oklch */ color: oklch(39.8% 0.166 299.9);
Tailwind
colors: {
  custom: {
    50: '#8c64b2',
    500: '#572591',
    950: '#000000',
  },
}
SCSS
$custom: #572591;
$custom-light: #8c64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572591",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 267.778,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39785,
    "c": 0.16647,
    "h": 299.9
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#572591
secondary
#8DBA58
accent
#E3459A
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #572591

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

Preview Lab → · Contrast checker → · Palette generator →

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