#582A87#582A87

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

Color values

HEX#582A87
RGBrgb(88, 42, 135)
HSLhsl(270, 53%, 35%)
HSVhsv(270, 69%, 53%)
CMYKcmyk(34.8%, 68.9%, 0%, 47.1%)
CIE-LABlab(28.06, 39.86, -43.98)
CIE-LCHlch(28.06, 59.36, 312.19°)
OKLaboklab(39.73% 0.0807 -0.125)
OKLCHoklch(39.73% 0.149 302.8)
XYZxyz(9.2246, 5.4799, 23.4887)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A87 #59872A
analogous
#2A2B87 #582A87 #862A87
triadic
#582A87 #87582A #2A8758
tetradic
#582A87 #872A2B #59872A #2A8786
square
#582A87 #872A2B #59872A #2A8786
split-complementary
#582A87 #87862A #2B872A
monochromatic
#1B0D2A #3A1B58 #582A87 #7639B6 #955ECD

Accessibility & contrast

On white

10.02
#582A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#582A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A87
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A87#FFFFFF#000000##FFFFFF
##582A871.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#024285
Tritanopia (blue-blind)
#4F3F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582a87;
/* rgb */ color: rgb(88, 42, 135);
/* oklch */ color: oklch(39.7% 0.149 302.8);
Tailwind
colors: {
  custom: {
    50: '#8b67ab',
    500: '#582a87',
    950: '#000000',
  },
}
SCSS
$custom: #582a87;
$custom-light: #8b67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582a87",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 269.677,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.14879,
    "h": 302.8
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#582A87
secondary
#87B35A
accent
#DC4C95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A87

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

Preview Lab → · Contrast checker → · Palette generator →

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