#572FB9#572FB9

#572FB9 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.201 H 288.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#572FB9
RGBrgb(87, 47, 185)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(53%, 74.6%, 0%, 27.5%)
CIE-LABlab(33.05, 50.74, -66.18)
CIE-LCHlch(33.05, 83.39, 307.48°)
OKLaboklab(44.55% 0.0644 -0.1902)
OKLCHoklch(44.55% 0.201 288.7)
XYZxyz(13.7014, 7.5614, 46.6271)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FB9 #91B92F
analogous
#2F4CB9 #572FB9 #9C2FB9
triadic
#572FB9 #B9572F #2FB957
tetradic
#572FB9 #B92F4C #91B92F #2FB99C
square
#572FB9 #B92F4C #91B92F #2FB99C
split-complementary
#572FB9 #B99C2F #4CB92F
monochromatic
#291657 #402388 #572FB9 #7752D3 #9E83DF

Accessibility & contrast

On white

8.36
#572FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#572FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FB9
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FB9#FFFFFF#000000##FFFFFF
##572FB91.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#315572
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #572fb9;
/* rgb */ color: rgb(87, 47, 185);
/* oklch */ color: oklch(44.6% 0.201 288.7);
Tailwind
colors: {
  custom: {
    50: '#906ccf',
    500: '#572fb9',
    950: '#000000',
  },
}
SCSS
$custom: #572fb9;
$custom-light: #906ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#572fb9",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 257.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44551,
    "c": 0.20085,
    "h": 288.7
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#572FB9
secondary
#B2C97B
accent
#E345B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #572FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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