#582DA9#582DA9

#582DA9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.185 H 292.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#582DA9
RGBrgb(88, 45, 169)
HSLhsl(261, 58%, 42%)
HSVhsv(261, 73%, 66%)
CMYKcmyk(47.9%, 73.4%, 0%, 33.7%)
CIE-LABlab(31.38, 47.44, -59.37)
CIE-LCHlch(31.38, 76.00, 308.63°)
OKLaboklab(42.96% 0.0714 -0.1702)
OKLCHoklch(42.96% 0.185 292.8)
XYZxyz(12.1223, 6.8156, 38.2053)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DA9 #7EA92D
analogous
#2D40A9 #582DA9 #962DA9
triadic
#582DA9 #A9582D #2DA958
tetradic
#582DA9 #A92D40 #7EA92D #2DA996
square
#582DA9 #A92D40 #7EA92D #2DA996
split-complementary
#582DA9 #A9962D #40A92D
monochromatic
#261348 #3F2079 #582DA9 #7546CE #9976DA

Accessibility & contrast

On white

8.89
#582DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#582DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DA9
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DA9#FFFFFF#000000##FFFFFF
##582DA91.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#3F4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582da9;
/* rgb */ color: rgb(88, 45, 169);
/* oklch */ color: oklch(43.0% 0.185 292.8);
Tailwind
colors: {
  custom: {
    50: '#8f6ac4',
    500: '#582da9',
    950: '#000000',
  },
}
SCSS
$custom: #582da9;
$custom-light: #8f6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#582da9",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 260.806,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.18461,
    "h": 292.8
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#582DA9
secondary
#A6C26F
accent
#E147AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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