#582A86#582A86

#582A86 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.148 H 303.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#582A86
RGBrgb(88, 42, 134)
HSLhsl(270, 52%, 35%)
HSVhsv(270, 69%, 53%)
CMYKcmyk(34.3%, 68.7%, 0%, 47.5%)
CIE-LABlab(27.99, 39.60, -43.48)
CIE-LCHlch(27.99, 58.81, 312.33°)
OKLaboklab(39.65% 0.0808 -0.1235)
OKLCHoklch(39.65% 0.148 303.2)
XYZxyz(9.1545, 5.4519, 23.1197)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A86 #58862A
analogous
#2A2A86 #582A86 #862A86
triadic
#582A86 #86582A #2A8658
tetradic
#582A86 #862A2A #58862A #2A8686
square
#582A86 #862A2A #58862A #2A8686
split-complementary
#582A86 #86862A #2A862A
monochromatic
#1B0D29 #391B57 #582A86 #7739B5 #955ECD

Accessibility & contrast

On white

10.05
#582A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#582A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A86
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A86#FFFFFF#000000##FFFFFF
##582A861.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#054284
Tritanopia (blue-blind)
#4F3F54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582a86;
/* rgb */ color: rgb(88, 42, 134);
/* oklch */ color: oklch(39.7% 0.148 303.2);
Tailwind
colors: {
  custom: {
    50: '#8b67aa',
    500: '#582a86',
    950: '#000000',
  },
}
SCSS
$custom: #582a86;
$custom-light: #8b67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582a86",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 270,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.14762,
    "h": 303.2
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#582A86
secondary
#86B25A
accent
#DC4C94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A86

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

Preview Lab → · Contrast checker → · Palette generator →

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