#582A95#582A95

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

Color values

HEX#582A95
RGBrgb(88, 42, 149)
HSLhsl(266, 56%, 37%)
HSVhsv(266, 72%, 58%)
CMYKcmyk(40.9%, 71.8%, 0%, 41.6%)
CIE-LABlab(29.16, 43.54, -50.86)
CIE-LCHlch(29.16, 66.95, 310.57°)
OKLaboklab(40.86% 0.0785 -0.1452)
OKLCHoklch(40.86% 0.165 298.4)
XYZxyz(10.2759, 5.9004, 29.0254)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A95 #67952A
analogous
#2A3295 #582A95 #8D2A95
triadic
#582A95 #95582A #2A9558
tetradic
#582A95 #952A32 #67952A #2A958D
square
#582A95 #952A32 #67952A #2A958D
split-complementary
#582A95 #958D2A #32952A
monochromatic
#200F36 #3C1D65 #582A95 #7437C5 #9566D4

Accessibility & contrast

On white

9.63
#582A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#582A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A95
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A95#FFFFFF#000000##FFFFFF
##582A951.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#49445C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582a95;
/* rgb */ color: rgb(88, 42, 149);
/* oklch */ color: oklch(40.9% 0.165 298.4);
Tailwind
colors: {
  custom: {
    50: '#8d67b5',
    500: '#582a95',
    950: '#000000',
  },
}
SCSS
$custom: #582a95;
$custom-light: #8d67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582a95",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 265.794,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.16508,
    "h": 298.4
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582A95

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

Preview Lab → · Contrast checker → · Palette generator →

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