#572FB8#572FB8

#572FB8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.200 H 288.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#572FB8
RGBrgb(87, 47, 184)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 72%)
CMYKcmyk(52.7%, 74.5%, 0%, 27.8%)
CIE-LABlab(32.96, 50.46, -65.73)
CIE-LCHlch(32.96, 82.87, 307.51°)
OKLaboklab(44.46% 0.0646 -0.1889)
OKLCHoklch(44.46% 0.2 288.9)
XYZxyz(13.5962, 7.5193, 46.0731)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FB8 #90B82F
analogous
#2F4CB8 #572FB8 #9B2FB8
triadic
#572FB8 #B8572F #2FB857
tetradic
#572FB8 #B82F4C #90B82F #2FB89B
square
#572FB8 #B82F4C #90B82F #2FB89B
split-complementary
#572FB8 #B89B2F #4CB82F
monochromatic
#291657 #402387 #572FB8 #7752D3 #9D82DF

Accessibility & contrast

On white

8.39
#572FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#572FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FB8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FB8#FFFFFF#000000##FFFFFF
##572FB81.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#325471
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #572fb8;
/* rgb */ color: rgb(87, 47, 184);
/* oklch */ color: oklch(44.5% 0.200 288.9);
Tailwind
colors: {
  custom: {
    50: '#906cce',
    500: '#572fb8',
    950: '#000000',
  },
}
SCSS
$custom: #572fb8;
$custom-light: #906cce;
$custom-dark: #000000;
JSON
{
  "hex": "#572fb8",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 257.518,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.1997,
    "h": 288.9
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#572FB8
secondary
#B2C87B
accent
#E245B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #572FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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