#582C98#582C98

#582C98 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.166 H 297.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#582C98
RGBrgb(88, 44, 152)
HSLhsl(264, 55%, 38%)
HSVhsv(264, 71%, 60%)
CMYKcmyk(42.1%, 71.1%, 0%, 40.4%)
CIE-LABlab(29.77, 43.32, -51.70)
CIE-LCHlch(29.77, 67.45, 309.96°)
OKLaboklab(41.37% 0.0759 -0.1477)
OKLCHoklch(41.37% 0.166 297.2)
XYZxyz(10.5912, 6.1429, 30.3274)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C98 #6C982C
analogous
#2C3698 #582C98 #8E2C98
triadic
#582C98 #98582C #2C9858
tetradic
#582C98 #982C36 #6C982C #2C988E
square
#582C98 #982C36 #6C982C #2C988E
split-complementary
#582C98 #988E2C #36982C
monochromatic
#211139 #3D1E69 #582C98 #743BC6 #956AD4

Accessibility & contrast

On white

9.42
#582C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#582C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C98
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C98#FFFFFF#000000##FFFFFF
##582C981.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#48475F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582c98;
/* rgb */ color: rgb(88, 44, 152);
/* oklch */ color: oklch(41.4% 0.166 297.2);
Tailwind
colors: {
  custom: {
    50: '#8d69b7',
    500: '#582c98',
    950: '#000000',
  },
}
SCSS
$custom: #582c98;
$custom-light: #8d69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#582c98",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 264.444,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.16606,
    "h": 297.2
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#582C98
secondary
#98BB65
accent
#DE49A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582C98

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

Preview Lab → · Contrast checker → · Palette generator →

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