#582973#582973

#582973 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 311.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#582973
RGBrgb(88, 41, 115)
HSLhsl(278, 47%, 31%)
HSVhsv(278, 64%, 45%)
CMYKcmyk(23.5%, 64.3%, 0%, 54.9%)
CIE-LABlab(26.44, 35.36, -33.97)
CIE-LCHlch(26.44, 49.04, 316.15°)
OKLaboklab(38.11% 0.0834 -0.0956)
OKLCHoklch(38.11% 0.127 311.1)
XYZxyz(7.9114, 4.8986, 16.7451)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582973 #447329
analogous
#332973 #582973 #732969
triadic
#582973 #735829 #297358
tetradic
#582973 #733329 #447329 #296973
square
#582973 #733329 #447329 #296973
split-complementary
#582973 #697329 #297333
monochromatic
#130919 #351946 #582973 #7B39A0 #9A54C2

Accessibility & contrast

On white

10.61
#582973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582973
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582973#FFFFFF#000000##FFFFFF
##5829731.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#223F71
Tritanopia (blue-blind)
#55374A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582973;
/* rgb */ color: rgb(88, 41, 115);
/* oklch */ color: oklch(38.1% 0.127 311.1);
Tailwind
colors: {
  custom: {
    50: '#8a669c',
    500: '#582973',
    950: '#000000',
  },
}
SCSS
$custom: #582973;
$custom-light: #8a669c;
$custom-dark: #000000;
JSON
{
  "hex": "#582973",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 278.108,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.12688,
    "h": 311.1
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#582973
secondary
#71A553
accent
#D75182
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582973

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

Preview Lab → · Contrast checker → · Palette generator →

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