#582A9A#582A9A

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

Color values

HEX#582A9A
RGBrgb(88, 42, 154)
HSLhsl(265, 57%, 38%)
HSVhsv(265, 73%, 60%)
CMYKcmyk(42.9%, 72.7%, 0%, 39.6%)
CIE-LABlab(29.57, 44.87, -53.24)
CIE-LCHlch(29.57, 69.63, 310.12°)
OKLaboklab(41.28% 0.0775 -0.1522)
OKLCHoklch(41.28% 0.171 297)
XYZxyz(10.6837, 6.0635, 31.1731)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A9A #6C9A2A
analogous
#2A349A #582A9A #902A9A
triadic
#582A9A #9A582A #2A9A58
tetradic
#582A9A #9A2A34 #6C9A2A #2A9A90
square
#582A9A #9A2A34 #6C9A2A #2A9A90
split-complementary
#582A9A #9A902A #349A2A
monochromatic
#21103A #3D1D6A #582A9A #7438C9 #9568D6

Accessibility & contrast

On white

9.49
#582A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582A9A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A9A#FFFFFF#000000##FFFFFF
##582A9A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#47465F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582a9a;
/* rgb */ color: rgb(88, 42, 154);
/* oklch */ color: oklch(41.3% 0.171 297.0);
Tailwind
colors: {
  custom: {
    50: '#8d68b9',
    500: '#582a9a',
    950: '#000000',
  },
}
SCSS
$custom: #582a9a;
$custom-light: #8d68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#582a9a",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 264.643,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.17084,
    "h": 297
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#582A9A
secondary
#98BC63
accent
#E047A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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