#582AA9#582AA9

#582AA9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.188 H 293.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#582AA9
RGBrgb(88, 42, 169)
HSLhsl(262, 60%, 41%)
HSVhsv(262, 75%, 66%)
CMYKcmyk(47.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(30.87, 48.91, -60.22)
CIE-LCHlch(30.87, 77.57, 309.08°)
OKLaboklab(42.6% 0.0741 -0.1727)
OKLCHoklch(42.6% 0.188 293.2)
XYZxyz(12.0119, 6.5948, 38.1685)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA9 #7BA92A
analogous
#2A3CA9 #582AA9 #982AA9
triadic
#582AA9 #A9582A #2AA958
tetradic
#582AA9 #A92A3C #7BA92A #2AA998
square
#582AA9 #A92A3C #7BA92A #2AA998
split-complementary
#582AA9 #A9982A #3CA92A
monochromatic
#251247 #3E1E78 #582AA9 #7441D0 #9872DC

Accessibility & contrast

On white

9.06
#582AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#582AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA9
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA9#FFFFFF#000000##FFFFFF
##582AA91.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#3F4C68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582aa9;
/* rgb */ color: rgb(88, 42, 169);
/* oklch */ color: oklch(42.6% 0.188 293.2);
Tailwind
colors: {
  custom: {
    50: '#8f68c4',
    500: '#582aa9',
    950: '#000000',
  },
}
SCSS
$custom: #582aa9;
$custom-light: #8f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa9",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 261.732,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.18792,
    "h": 293.2
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#582AA9
secondary
#A3C36C
accent
#E344AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #582AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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