#572285#572285

#572285 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.157 H 304.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#572285
RGBrgb(87, 34, 133)
HSLhsl(272, 59%, 33%)
HSVhsv(272, 74%, 52%)
CMYKcmyk(34.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(26.34, 43.13, -45.52)
CIE-LCHlch(26.34, 62.71, 313.45°)
OKLaboklab(38.43% 0.0884 -0.1295)
OKLCHoklch(38.43% 0.157 304.3)
XYZxyz(8.7352, 4.8638, 22.6644)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572285 #508522
analogous
#252285 #572285 #852281
triadic
#572285 #855722 #228557
tetradic
#572285 #852522 #508522 #228185
square
#572285 #852522 #508522 #228185
split-complementary
#572285 #818522 #228525
monochromatic
#170924 #371654 #572285 #772EB6 #954FD2

Accessibility & contrast

On white

10.64
#572285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#572285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572285
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572285#FFFFFF#000000##FFFFFF
##5722851.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#4E3A51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572285;
/* rgb */ color: rgb(87, 34, 133);
/* oklch */ color: oklch(38.4% 0.157 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b62a9',
    500: '#572285',
    950: '#000000',
  },
}
SCSS
$custom: #572285;
$custom-light: #8b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#572285",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 272.121,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38427,
    "c": 0.15682,
    "h": 304.3
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#572285
secondary
#7EB64D
accent
#E2458E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572285

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

Preview Lab → · Contrast checker → · Palette generator →

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