#572385#572385

#572385 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.156 H 304.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#572385
RGBrgb(87, 35, 133)
HSLhsl(272, 58%, 33%)
HSVhsv(272, 74%, 52%)
CMYKcmyk(34.6%, 73.7%, 0%, 47.8%)
CIE-LABlab(26.51, 42.65, -45.25)
CIE-LCHlch(26.51, 62.18, 313.31°)
OKLaboklab(38.55% 0.0873 -0.1287)
OKLCHoklch(38.55% 0.156 304.2)
XYZxyz(8.7642, 4.9218, 22.6740)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572385 #518523
analogous
#262385 #572385 #852382
triadic
#572385 #855723 #238557
tetradic
#572385 #852623 #518523 #238285
square
#572385 #852623 #518523 #238285
split-complementary
#572385 #828523 #238526
monochromatic
#180924 #371655 #572385 #7730B5 #9551D1

Accessibility & contrast

On white

10.58
#572385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#572385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572385
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572385#FFFFFF#000000##FFFFFF
##5723851.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572385;
/* rgb */ color: rgb(87, 35, 133);
/* oklch */ color: oklch(38.5% 0.156 304.2);
Tailwind
colors: {
  custom: {
    50: '#8b63a9',
    500: '#572385',
    950: '#000000',
  },
}
SCSS
$custom: #572385;
$custom-light: #8b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#572385",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 271.837,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.15557,
    "h": 304.2
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#572385
secondary
#7FB54F
accent
#E2468F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572385

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

Preview Lab → · Contrast checker → · Palette generator →

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