#572E97#572E97

#572E97 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.162 H 296.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#572E97
RGBrgb(87, 46, 151)
HSLhsl(263, 53%, 39%)
HSVhsv(263, 70%, 59%)
CMYKcmyk(42.4%, 69.5%, 0%, 40.8%)
CIE-LABlab(29.95, 41.80, -50.81)
CIE-LCHlch(29.95, 65.79, 309.45°)
OKLaboklab(41.45% 0.0725 -0.1451)
OKLCHoklch(41.45% 0.162 296.5)
XYZxyz(10.4919, 6.2144, 29.9189)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572E97 #6E972E
analogous
#2E3997 #572E97 #8B2E97
triadic
#572E97 #97572E #2E9757
tetradic
#572E97 #972E39 #6E972E #2E978B
square
#572E97 #972E39 #6E972E #2E978B
split-complementary
#572E97 #978B2E #39972E
monochromatic
#211139 #3C2068 #572E97 #723EC4 #956DD2

Accessibility & contrast

On white

9.36
#572E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#572E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572E97
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572E97#FFFFFF#000000##FFFFFF
##572E971.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#47475F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #572e97;
/* rgb */ color: rgb(87, 46, 151);
/* oklch */ color: oklch(41.4% 0.162 296.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ab6',
    500: '#572e97',
    950: '#000000',
  },
}
SCSS
$custom: #572e97;
$custom-light: #8c6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#572e97",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 263.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.16221,
    "h": 296.5
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#572E97
secondary
#99BA67
accent
#DD4BA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #572E97

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

Preview Lab → · Contrast checker → · Palette generator →

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