#582A96#582A96

#582A96 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.166 H 298.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#582A96
RGBrgb(88, 42, 150)
HSLhsl(266, 56%, 38%)
HSVhsv(266, 72%, 59%)
CMYKcmyk(41.3%, 72%, 0%, 41.2%)
CIE-LABlab(29.24, 43.81, -51.34)
CIE-LCHlch(29.24, 67.49, 310.47°)
OKLaboklab(40.94% 0.0783 -0.1466)
OKLCHoklch(40.94% 0.166 298.1)
XYZxyz(10.3561, 5.9325, 29.4477)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A96 #68962A
analogous
#2A3296 #582A96 #8E2A96
triadic
#582A96 #96582A #2A9658
tetradic
#582A96 #962A32 #68962A #2A968E
square
#582A96 #962A32 #68962A #2A968E
split-complementary
#582A96 #968E2A #32962A
monochromatic
#200F36 #3C1D66 #582A96 #7437C6 #9566D4

Accessibility & contrast

On white

9.60
#582A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#582A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A96
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A96#FFFFFF#000000##FFFFFF
##582A961.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#49455D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582a96;
/* rgb */ color: rgb(88, 42, 150);
/* oklch */ color: oklch(40.9% 0.166 298.1);
Tailwind
colors: {
  custom: {
    50: '#8d68b6',
    500: '#582a96',
    950: '#000000',
  },
}
SCSS
$custom: #582a96;
$custom-light: #8d68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582a96",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 265.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.16623,
    "h": 298.1
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#582A96
secondary
#94BA61
accent
#E0489F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582A96

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

Preview Lab → · Contrast checker → · Palette generator →

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