#582A94#582A94

#582A94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.164 H 298.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#582A94
RGBrgb(88, 42, 148)
HSLhsl(266, 56%, 37%)
HSVhsv(266, 72%, 58%)
CMYKcmyk(40.5%, 71.6%, 0%, 42%)
CIE-LABlab(29.08, 43.27, -50.37)
CIE-LCHlch(29.08, 66.41, 310.66°)
OKLaboklab(40.78% 0.0787 -0.1438)
OKLCHoklch(40.78% 0.164 298.7)
XYZxyz(10.1964, 5.8686, 28.6068)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A94 #66942A
analogous
#2A3194 #582A94 #8D2A94
triadic
#582A94 #94582A #2A9458
tetradic
#582A94 #942A31 #66942A #2A948D
square
#582A94 #942A31 #66942A #2A948D
split-complementary
#582A94 #948D2A #31942A
monochromatic
#1F0F35 #3C1C64 #582A94 #7438C4 #9565D3

Accessibility & contrast

On white

9.66
#582A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A94
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A94#FFFFFF#000000##FFFFFF
##582A941.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#4A445C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582a94;
/* rgb */ color: rgb(88, 42, 148);
/* oklch */ color: oklch(40.8% 0.164 298.7);
Tailwind
colors: {
  custom: {
    50: '#8d67b4',
    500: '#582a94',
    950: '#000000',
  },
}
SCSS
$custom: #582a94;
$custom-light: #8d67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582a94",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 266.038,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.16392,
    "h": 298.7
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#582A94
secondary
#93B960
accent
#DF499E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582A94

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

Preview Lab → · Contrast checker → · Palette generator →

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