#582A89#582A89

#582A89 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.151 H 302.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#582A89
RGBrgb(88, 42, 137)
HSLhsl(269, 53%, 35%)
HSVhsv(269, 69%, 54%)
CMYKcmyk(35.8%, 69.3%, 0%, 46.3%)
CIE-LABlab(28.21, 40.38, -44.98)
CIE-LCHlch(28.21, 60.45, 311.91°)
OKLaboklab(39.89% 0.0804 -0.1279)
OKLCHoklch(39.89% 0.151 302.2)
XYZxyz(9.3668, 5.5368, 24.2373)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A89 #5B892A
analogous
#2A2B89 #582A89 #882A89
triadic
#582A89 #89582A #2A8958
tetradic
#582A89 #892A2B #5B892A #2A8988
square
#582A89 #892A2B #5B892A #2A8988
split-complementary
#582A89 #89882A #2B892A
monochromatic
#1C0D2B #3A1C5A #582A89 #7638B8 #955FCE

Accessibility & contrast

On white

9.96
#582A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#582A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A89
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A89#FFFFFF#000000##FFFFFF
##582A891.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#4E4056
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582a89;
/* rgb */ color: rgb(88, 42, 137);
/* oklch */ color: oklch(39.9% 0.151 302.2);
Tailwind
colors: {
  custom: {
    50: '#8b67ac',
    500: '#582a89',
    950: '#000000',
  },
}
SCSS
$custom: #582a89;
$custom-light: #8b67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#582a89",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 269.053,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39887,
    "c": 0.15113,
    "h": 302.2
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#582A89
secondary
#89B45B
accent
#DC4B96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A89

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

Preview Lab → · Contrast checker → · Palette generator →

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