#572485#572485

#572485 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.154 H 304.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#572485
RGBrgb(87, 36, 133)
HSLhsl(272, 57%, 33%)
HSVhsv(272, 73%, 52%)
CMYKcmyk(34.6%, 72.9%, 0%, 47.8%)
CIE-LABlab(26.68, 42.17, -44.97)
CIE-LCHlch(26.68, 61.65, 313.16°)
OKLaboklab(38.67% 0.0863 -0.1279)
OKLCHoklch(38.67% 0.154 304)
XYZxyz(8.7940, 4.9815, 22.6840)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572485 #528524
analogous
#262485 #572485 #852482
triadic
#572485 #855724 #248557
tetradic
#572485 #852624 #528524 #248285
square
#572485 #852624 #528524 #248285
split-complementary
#572485 #828524 #248526
monochromatic
#180A25 #371755 #572485 #7731B5 #9553D0

Accessibility & contrast

On white

10.52
#572485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#572485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572485
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572485#FFFFFF#000000##FFFFFF
##5724851.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#4E3B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #572485;
/* rgb */ color: rgb(87, 36, 133);
/* oklch */ color: oklch(38.7% 0.154 304.0);
Tailwind
colors: {
  custom: {
    50: '#8b63a9',
    500: '#572485',
    950: '#000000',
  },
}
SCSS
$custom: #572485;
$custom-light: #8b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#572485",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 271.546,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.15429,
    "h": 304
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#572485
secondary
#80B450
accent
#E14790
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572485

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

Preview Lab → · Contrast checker → · Palette generator →

#572485 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva