#582C8A#582C8A

#582C8A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.150 H 301.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#582C8A
RGBrgb(88, 44, 138)
HSLhsl(268, 52%, 36%)
HSVhsv(268, 68%, 54%)
CMYKcmyk(36.2%, 68.1%, 0%, 45.9%)
CIE-LABlab(28.67, 39.59, -44.86)
CIE-LCHlch(28.67, 59.83, 311.43°)
OKLaboklab(40.24% 0.078 -0.1276)
OKLCHoklch(40.24% 0.15 301.4)
XYZxyz(9.5115, 5.7110, 24.6411)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C8A #5E8A2C
analogous
#2C2F8A #582C8A #872C8A
triadic
#582C8A #8A582C #2C8A58
tetradic
#582C8A #8A2C2F #5E8A2C #2C8A87
square
#582C8A #8A2C2F #5E8A2C #2C8A87
split-complementary
#582C8A #8A872C #2F8A2C
monochromatic
#1D0E2D #3A1D5C #582C8A #763BB8 #9563CD

Accessibility & contrast

On white

9.80
#582C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#582C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C8A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C8A#FFFFFF#000000##FFFFFF
##582C8A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#4D4157
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582c8a;
/* rgb */ color: rgb(88, 44, 138);
/* oklch */ color: oklch(40.2% 0.150 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b68ad',
    500: '#582c8a',
    950: '#000000',
  },
}
SCSS
$custom: #582c8a;
$custom-light: #8b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#582c8a",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 268.085,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.14954,
    "h": 301.4
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#582C8A
secondary
#8CB45E
accent
#DB4D98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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