#582173#582173

#582173 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.0% C 0.139 H 312.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#582173
RGBrgb(88, 33, 115)
HSLhsl(280, 55%, 29%)
HSVhsv(280, 71%, 45%)
CMYKcmyk(23.5%, 71.3%, 0%, 54.9%)
CIE-LABlab(24.95, 39.47, -36.37)
CIE-LCHlch(24.95, 53.67, 317.34°)
OKLaboklab(37.04% 0.0936 -0.1026)
OKLCHoklch(37.04% 0.139 312.4)
XYZxyz(7.6623, 4.4004, 16.6621)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582173 #3C7321
analogous
#2F2173 #582173 #732165
triadic
#582173 #735821 #217358
tetradic
#582173 #732F21 #3C7321 #216573
square
#582173 #732F21 #3C7321 #216573
split-complementary
#582173 #657321 #21732F
monochromatic
#120718 #341343 #582173 #7C2FA3 #9E45CA

Accessibility & contrast

On white

11.17
#582173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#582173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582173
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582173#FFFFFF#000000##FFFFFF
##5821731.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#553247
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #582173;
/* rgb */ color: rgb(88, 33, 115);
/* oklch */ color: oklch(37.0% 0.139 312.4);
Tailwind
colors: {
  custom: {
    50: '#8a619c',
    500: '#582173',
    950: '#000000',
  },
}
SCSS
$custom: #582173;
$custom-light: #8a619c;
$custom-dark: #000000;
JSON
{
  "hex": "#582173",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 280.244,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.13886,
    "h": 312.4
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#582173
secondary
#68A649
accent
#DF497A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #582173

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

Preview Lab → · Contrast checker → · Palette generator →

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