#582872#582872

#582872 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.127 H 311.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#582872
RGBrgb(88, 40, 114)
HSLhsl(279, 48%, 30%)
HSVhsv(279, 65%, 45%)
CMYKcmyk(22.8%, 64.9%, 0%, 55.3%)
CIE-LABlab(26.18, 35.66, -33.76)
CIE-LCHlch(26.18, 49.11, 316.57°)
OKLaboklab(37.9% 0.0848 -0.095)
OKLCHoklch(37.9% 0.127 311.7)
XYZxyz(7.8200, 4.8074, 16.4323)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582872 #427228
analogous
#332872 #582872 #722867
triadic
#582872 #725828 #287258
tetradic
#582872 #723328 #427228 #286772
square
#582872 #723328 #427228 #286772
split-complementary
#582872 #677228 #287233
monochromatic
#120817 #351845 #582872 #7B389F #9B52C2

Accessibility & contrast

On white

10.71
#582872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#582872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582872
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582872#FFFFFF#000000##FFFFFF
##5828721.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#223F70
Tritanopia (blue-blind)
#553649
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582872;
/* rgb */ color: rgb(88, 40, 114);
/* oklch */ color: oklch(37.9% 0.127 311.7);
Tailwind
colors: {
  custom: {
    50: '#8a659b',
    500: '#582872',
    950: '#000000',
  },
}
SCSS
$custom: #582872;
$custom-light: #8a659b;
$custom-dark: #000000;
JSON
{
  "hex": "#582872",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 278.919,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.12731,
    "h": 311.7
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#582872
secondary
#6FA452
accent
#D85080
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582872

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

Preview Lab → · Contrast checker → · Palette generator →

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