#582D79#582D79

#582D79 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.128 H 307.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#582D79
RGBrgb(88, 45, 121)
HSLhsl(274, 46%, 33%)
HSVhsv(274, 63%, 47%)
CMYKcmyk(27.3%, 62.8%, 0%, 52.5%)
CIE-LABlab(27.66, 34.64, -35.84)
CIE-LCHlch(27.66, 49.84, 314.03°)
OKLaboklab(39.12% 0.0779 -0.1011)
OKLCHoklch(39.12% 0.128 307.6)
XYZxyz(8.4134, 5.3321, 18.6714)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D79 #4E792D
analogous
#322D79 #582D79 #792D74
triadic
#582D79 #79582D #2D7958
tetradic
#582D79 #79322D #4E792D #2D7479
square
#582D79 #79322D #4E792D #2D7479
split-complementary
#582D79 #74792D #2D7932
monochromatic
#170C20 #381C4C #582D79 #783EA6 #975DC3

Accessibility & contrast

On white

10.16
#582D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D79
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D79#FFFFFF#000000##FFFFFF
##582D791.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407B
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#533C4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582d79;
/* rgb */ color: rgb(88, 45, 121);
/* oklch */ color: oklch(39.1% 0.128 307.6);
Tailwind
colors: {
  custom: {
    50: '#8a68a0',
    500: '#582d79',
    950: '#000000',
  },
}
SCSS
$custom: #582d79;
$custom-light: #8a68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582d79",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 273.947,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39123,
    "c": 0.12764,
    "h": 307.6
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#582D79
secondary
#7CA958
accent
#D5528B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #582D79

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

Preview Lab → · Contrast checker → · Palette generator →

#582D79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva