#572EB5#572EB5

#572EB5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.197 H 289.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#572EB5
RGBrgb(87, 46, 181)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 75%, 71%)
CMYKcmyk(51.9%, 74.6%, 0%, 29%)
CIE-LABlab(32.52, 50.11, -64.69)
CIE-LCHlch(32.52, 81.82, 307.76°)
OKLaboklab(44.06% 0.0662 -0.1859)
OKLCHoklch(44.06% 0.197 289.6)
XYZxyz(13.2455, 7.3158, 44.4213)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EB5 #8CB52E
analogous
#2E49B5 #572EB5 #9A2EB5
triadic
#572EB5 #B5572E #2EB557
tetradic
#572EB5 #B52E49 #8CB52E #2EB59A
square
#572EB5 #B52E49 #8CB52E #2EB59A
split-complementary
#572EB5 #B59A2E #49B52E
monochromatic
#281553 #402284 #572EB5 #764ED2 #9C7FDE

Accessibility & contrast

On white

8.53
#572EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#572EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EB5
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EB5#FFFFFF#000000##FFFFFF
##572EB51.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#34536F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #572eb5;
/* rgb */ color: rgb(87, 46, 181);
/* oklch */ color: oklch(44.1% 0.197 289.6);
Tailwind
colors: {
  custom: {
    50: '#906bcc',
    500: '#572eb5',
    950: '#000000',
  },
}
SCSS
$custom: #572eb5;
$custom-light: #906bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#572eb5",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 258.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44062,
    "c": 0.19731,
    "h": 289.6
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#572EB5
secondary
#AFC778
accent
#E345B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #572EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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