#572E95#572E95

#572E95 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.160 H 297.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#572E95
RGBrgb(87, 46, 149)
HSLhsl(264, 53%, 38%)
HSVhsv(264, 69%, 58%)
CMYKcmyk(41.6%, 69.1%, 0%, 41.6%)
CIE-LABlab(29.79, 41.26, -49.84)
CIE-LCHlch(29.79, 64.70, 309.62°)
OKLaboklab(41.28% 0.0728 -0.1423)
OKLCHoklch(41.28% 0.16 297.1)
XYZxyz(10.3309, 6.1500, 29.0707)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572E95 #6C952E
analogous
#2E3995 #572E95 #8A2E95
triadic
#572E95 #95572E #2E9557
tetradic
#572E95 #952E39 #6C952E #2E958A
square
#572E95 #952E39 #6C952E #2E958A
split-complementary
#572E95 #958A2E #39952E
monochromatic
#201137 #3C2066 #572E95 #723DC3 #946CD2

Accessibility & contrast

On white

9.42
#572E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#572E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572E95
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572E95#FFFFFF#000000##FFFFFF
##572E951.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#47475D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #572e95;
/* rgb */ color: rgb(87, 46, 149);
/* oklch */ color: oklch(41.3% 0.160 297.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ab5',
    500: '#572e95',
    950: '#000000',
  },
}
SCSS
$custom: #572e95;
$custom-light: #8c6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#572e95",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 263.883,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.15982,
    "h": 297.1
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#572E95
secondary
#98B966
accent
#DC4CA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #572E95

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

Preview Lab → · Contrast checker → · Palette generator →

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