#572E8A#572E8A

#572E8A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.147 H 300.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#572E8A
RGBrgb(87, 46, 138)
HSLhsl(267, 50%, 36%)
HSVhsv(267, 67%, 54%)
CMYKcmyk(37%, 66.7%, 0%, 45.9%)
CIE-LABlab(28.94, 38.28, -44.43)
CIE-LCHlch(28.94, 58.65, 310.75°)
OKLaboklab(40.41% 0.0742 -0.1264)
OKLCHoklch(40.41% 0.147 300.4)
XYZxyz(9.4938, 5.8151, 24.6621)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572E8A #618A2E
analogous
#2E338A #572E8A #852E8A
triadic
#572E8A #8A572E #2E8A57
tetradic
#572E8A #8A2E33 #618A2E #2E8A85
square
#572E8A #8A2E33 #618A2E #2E8A85
split-complementary
#572E8A #8A852E #338A2E
monochromatic
#1D0F2E #3A1F5C #572E8A #743DB8 #9466CC

Accessibility & contrast

On white

9.71
#572E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#572E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572E8A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572E8A#FFFFFF#000000##FFFFFF
##572E8A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#024488
Tritanopia (blue-blind)
#4C4358
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #572e8a;
/* rgb */ color: rgb(87, 46, 138);
/* oklch */ color: oklch(40.4% 0.147 300.4);
Tailwind
colors: {
  custom: {
    50: '#8b69ad',
    500: '#572e8a',
    950: '#000000',
  },
}
SCSS
$custom: #572e8a;
$custom-light: #8b69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#572e8a",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 266.739,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.14654,
    "h": 300.4
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#572E8A
secondary
#8EB361
accent
#DA4E9B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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