#582B97#582B97

#582B97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.166 H 297.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#582B97
RGBrgb(88, 43, 151)
HSLhsl(265, 56%, 38%)
HSVhsv(265, 72%, 59%)
CMYKcmyk(41.7%, 71.5%, 0%, 40.8%)
CIE-LABlab(29.50, 43.57, -51.52)
CIE-LCHlch(29.50, 67.47, 310.22°)
OKLaboklab(41.16% 0.0771 -0.1472)
OKLCHoklch(41.16% 0.166 297.6)
XYZxyz(10.4729, 6.0366, 29.8856)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B97 #6A972B
analogous
#2B3497 #582B97 #8E2B97
triadic
#582B97 #97582B #2B9758
tetradic
#582B97 #972B34 #6A972B #2B978E
square
#582B97 #972B34 #6A972B #2B978E
split-complementary
#582B97 #978E2B #34972B
monochromatic
#201038 #3C1D67 #582B97 #7439C7 #9568D4

Accessibility & contrast

On white

9.51
#582B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#582B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B97
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B97#FFFFFF#000000##FFFFFF
##582B971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582b97;
/* rgb */ color: rgb(88, 43, 151);
/* oklch */ color: oklch(41.2% 0.166 297.6);
Tailwind
colors: {
  custom: {
    50: '#8d68b6',
    500: '#582b97',
    950: '#000000',
  },
}
SCSS
$custom: #582b97;
$custom-light: #8d68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582b97",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 265,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.16615,
    "h": 297.6
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#582B97
secondary
#96BB63
accent
#DF49A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582B97

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

Preview Lab → · Contrast checker → · Palette generator →

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