#582873#582873

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

Color values

HEX#582873
RGBrgb(88, 40, 115)
HSLhsl(278, 48%, 30%)
HSVhsv(278, 65%, 45%)
CMYKcmyk(23.5%, 65.2%, 0%, 54.9%)
CIE-LABlab(26.25, 35.90, -34.29)
CIE-LCHlch(26.25, 49.65, 316.31°)
OKLaboklab(37.97% 0.0847 -0.0965)
OKLCHoklch(37.97% 0.128 311.3)
XYZxyz(7.8772, 4.8303, 16.7337)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582873 #437328
analogous
#322873 #582873 #732868
triadic
#582873 #735828 #287358
tetradic
#582873 #733228 #437328 #286873
square
#582873 #733228 #437328 #286873
split-complementary
#582873 #687328 #287332
monochromatic
#130818 #351846 #582873 #7B38A0 #9A52C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582873#FFFFFF#000000##FFFFFF
##5828731.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)
#073C75
Deuteranopia (green-blind)
#213F71
Tritanopia (blue-blind)
#553649
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582873;
/* rgb */ color: rgb(88, 40, 115);
/* oklch */ color: oklch(38.0% 0.128 311.3);
Tailwind
colors: {
  custom: {
    50: '#8a659c',
    500: '#582873',
    950: '#000000',
  },
}
SCSS
$custom: #582873;
$custom-light: #8a659c;
$custom-dark: #000000;
JSON
{
  "hex": "#582873",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 278.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37967,
    "c": 0.12846,
    "h": 311.3
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#582873
secondary
#70A552
accent
#D85081
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582873

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

Preview Lab → · Contrast checker → · Palette generator →

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