#582A8A#582A8A

#582A8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.152 H 301.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#582A8A
RGBrgb(88, 42, 138)
HSLhsl(269, 53%, 35%)
HSVhsv(269, 70%, 54%)
CMYKcmyk(36.2%, 69.6%, 0%, 45.9%)
CIE-LABlab(28.29, 40.64, -45.48)
CIE-LCHlch(28.29, 60.99, 311.78°)
OKLaboklab(39.97% 0.0803 -0.1294)
OKLCHoklch(39.97% 0.152 301.8)
XYZxyz(9.4388, 5.5656, 24.6168)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A8A #5C8A2A
analogous
#2A2C8A #582A8A #882A8A
triadic
#582A8A #8A582A #2A8A58
tetradic
#582A8A #8A2A2C #5C8A2A #2A8A88
square
#582A8A #8A2A2C #5C8A2A #2A8A88
split-complementary
#582A8A #8A882A #2C8A2A
monochromatic
#1C0D2C #3A1C5B #582A8A #7638B9 #9560CF

Accessibility & contrast

On white

9.94
#582A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582A8A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A8A#FFFFFF#000000##FFFFFF
##582A8A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582a8a;
/* rgb */ color: rgb(88, 42, 138);
/* oklch */ color: oklch(40.0% 0.152 301.8);
Tailwind
colors: {
  custom: {
    50: '#8c67ad',
    500: '#582a8a',
    950: '#000000',
  },
}
SCSS
$custom: #582a8a;
$custom-light: #8c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#582a8a",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 268.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.15229,
    "h": 301.8
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#582A8A
secondary
#8AB45B
accent
#DD4B97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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