#582D86#582D86

#582D86 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.143 H 302.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#582D86
RGBrgb(88, 45, 134)
HSLhsl(269, 50%, 35%)
HSVhsv(269, 66%, 53%)
CMYKcmyk(34.3%, 66.4%, 0%, 47.5%)
CIE-LABlab(28.57, 37.99, -42.53)
CIE-LCHlch(28.57, 57.03, 311.77°)
OKLaboklab(40.07% 0.0772 -0.1208)
OKLCHoklch(40.07% 0.143 302.6)
XYZxyz(9.2650, 5.6727, 23.1565)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D86 #5B862D
analogous
#2D2E86 #582D86 #852D86
triadic
#582D86 #86582D #2D8658
tetradic
#582D86 #862D2E #5B862D #2D8685
square
#582D86 #862D2E #5B862D #2D8685
split-complementary
#582D86 #86852D #2E862D
monochromatic
#1C0E2A #3A1E58 #582D86 #763CB4 #9563CB

Accessibility & contrast

On white

9.84
#582D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D86
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D86#FFFFFF#000000##FFFFFF
##582D861.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#0D4384
Tritanopia (blue-blind)
#4F4055
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582d86;
/* rgb */ color: rgb(88, 45, 134);
/* oklch */ color: oklch(40.1% 0.143 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b69aa',
    500: '#582d86',
    950: '#000000',
  },
}
SCSS
$custom: #582d86;
$custom-light: #8b69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582d86",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 268.989,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40074,
    "c": 0.14334,
    "h": 302.6
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#582D86
secondary
#89B15E
accent
#D94F96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582D86

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

Preview Lab → · Contrast checker → · Palette generator →

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