#582C97#582C97

#582C97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.165 H 297.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#582C97
RGBrgb(88, 44, 151)
HSLhsl(265, 55%, 38%)
HSVhsv(265, 71%, 59%)
CMYKcmyk(41.7%, 70.9%, 0%, 40.8%)
CIE-LABlab(29.69, 43.05, -51.22)
CIE-LCHlch(29.69, 66.91, 310.05°)
OKLaboklab(41.29% 0.0761 -0.1463)
OKLCHoklch(41.29% 0.165 297.5)
XYZxyz(10.5097, 6.1103, 29.8978)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C97 #6B972C
analogous
#2C3597 #582C97 #8D2C97
triadic
#582C97 #97582C #2C9758
tetradic
#582C97 #972C35 #6B972C #2C978D
square
#582C97 #972C35 #6B972C #2C978D
split-complementary
#582C97 #978D2C #35972C
monochromatic
#211038 #3C1E68 #582C97 #743AC6 #956AD4

Accessibility & contrast

On white

9.45
#582C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#582C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C97
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C97#FFFFFF#000000##FFFFFF
##582C971.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#48465E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582c97;
/* rgb */ color: rgb(88, 44, 151);
/* oklch */ color: oklch(41.3% 0.165 297.5);
Tailwind
colors: {
  custom: {
    50: '#8d69b6',
    500: '#582c97',
    950: '#000000',
  },
}
SCSS
$custom: #582c97;
$custom-light: #8d69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582c97",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 264.673,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.16489,
    "h": 297.5
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#582C97
secondary
#97BA65
accent
#DE4AA1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582C97

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

Preview Lab → · Contrast checker → · Palette generator →

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