#572E91#572E91

#572E91 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.155 H 298.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#572E91
RGBrgb(87, 46, 145)
HSLhsl(265, 52%, 37%)
HSVhsv(265, 68%, 57%)
CMYKcmyk(40%, 68.3%, 0%, 43.1%)
CIE-LABlab(29.47, 40.17, -47.89)
CIE-LCHlch(29.47, 62.51, 309.99°)
OKLaboklab(40.96% 0.0733 -0.1366)
OKLCHoklch(40.96% 0.155 298.2)
XYZxyz(10.0170, 6.0244, 27.4177)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572E91 #68912E
analogous
#2E3791 #572E91 #882E91
triadic
#572E91 #91572E #2E9157
tetradic
#572E91 #912E37 #68912E #2E9188
square
#572E91 #912E37 #68912E #2E9188
split-complementary
#572E91 #91882E #37912E
monochromatic
#1F1134 #3B1F63 #572E91 #733DBF #946AD0

Accessibility & contrast

On white

9.52
#572E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#572E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572E91
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572E91#FFFFFF#000000##FFFFFF
##572E911.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#49455B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #572e91;
/* rgb */ color: rgb(87, 46, 145);
/* oklch */ color: oklch(41.0% 0.155 298.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ab2',
    500: '#572e91',
    950: '#000000',
  },
}
SCSS
$custom: #572e91;
$custom-light: #8b6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#572e91",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 264.848,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.15501,
    "h": 298.2
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#572E91
secondary
#94B764
accent
#DB4DA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #572E91

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

Preview Lab → · Contrast checker → · Palette generator →

#572E91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva