#572875#572875

#572875 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.130 H 309.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#572875
RGBrgb(87, 40, 117)
HSLhsl(277, 49%, 31%)
HSVhsv(277, 66%, 46%)
CMYKcmyk(25.6%, 65.8%, 0%, 54.1%)
CIE-LABlab(26.24, 36.13, -35.58)
CIE-LCHlch(26.24, 50.71, 315.44°)
OKLaboklab(37.98% 0.0833 -0.1004)
OKLCHoklch(37.98% 0.13 309.7)
XYZxyz(7.8995, 4.8283, 17.3420)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572875 #467528
analogous
#302875 #572875 #75286C
triadic
#572875 #755728 #287557
tetradic
#572875 #753028 #467528 #286C75
square
#572875 #753028 #467528 #286C75
split-complementary
#572875 #6C7528 #287530
monochromatic
#13091A #351847 #572875 #7938A3 #9853C4

Accessibility & contrast

On white

10.68
#572875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572875
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572875#FFFFFF#000000##FFFFFF
##5728751.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013C77
Deuteranopia (green-blind)
#1E3F73
Tritanopia (blue-blind)
#53374A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572875;
/* rgb */ color: rgb(87, 40, 117);
/* oklch */ color: oklch(38.0% 0.130 309.7);
Tailwind
colors: {
  custom: {
    50: '#89659d',
    500: '#572875',
    950: '#000000',
  },
}
SCSS
$custom: #572875;
$custom-light: #89659d;
$custom-dark: #000000;
JSON
{
  "hex": "#572875",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 276.623,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37976,
    "c": 0.13041,
    "h": 309.7
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#572875
secondary
#73A752
accent
#D94F85
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #572875

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

Preview Lab → · Contrast checker → · Palette generator →

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