#582CA9#582CA9

#582CA9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.186 H 292.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#582CA9
RGBrgb(88, 44, 169)
HSLhsl(261, 59%, 42%)
HSVhsv(261, 74%, 66%)
CMYKcmyk(47.9%, 74%, 0%, 33.7%)
CIE-LABlab(31.21, 47.94, -59.66)
CIE-LCHlch(31.21, 76.53, 308.78°)
OKLaboklab(42.84% 0.0723 -0.1711)
OKLCHoklch(42.84% 0.186 292.9)
XYZxyz(12.0846, 6.7402, 38.1927)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA9 #7DA92C
analogous
#2C3FA9 #582CA9 #972CA9
triadic
#582CA9 #A9582C #2CA958
tetradic
#582CA9 #A92C3F #7DA92C #2CA997
square
#582CA9 #A92C3F #7DA92C #2CA997
split-complementary
#582CA9 #A9972C #3FA92C
monochromatic
#251348 #3F1F78 #582CA9 #7544CE #9974DB

Accessibility & contrast

On white

8.94
#582CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#582CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CA9
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA9#FFFFFF#000000##FFFFFF
##582CA91.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#3F4D68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ca9;
/* rgb */ color: rgb(88, 44, 169);
/* oklch */ color: oklch(42.8% 0.186 292.9);
Tailwind
colors: {
  custom: {
    50: '#8f69c4',
    500: '#582ca9',
    950: '#000000',
  },
}
SCSS
$custom: #582ca9;
$custom-light: #8f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca9",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 261.12,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.18573,
    "h": 292.9
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#582CA9
secondary
#A5C36E
accent
#E246AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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