#582B87#582B87

#582B87 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.147 H 302.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#582B87
RGBrgb(88, 43, 135)
HSLhsl(269, 52%, 35%)
HSVhsv(269, 68%, 53%)
CMYKcmyk(34.8%, 68.1%, 0%, 47.1%)
CIE-LABlab(28.25, 39.33, -43.67)
CIE-LCHlch(28.25, 58.77, 312.01°)
OKLaboklab(39.87% 0.0795 -0.1241)
OKLCHoklch(39.87% 0.147 302.6)
XYZxyz(9.2605, 5.5517, 23.5007)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B87 #5A872B
analogous
#2B2C87 #582B87 #862B87
triadic
#582B87 #87582B #2B8758
tetradic
#582B87 #872B2C #5A872B #2B8786
square
#582B87 #872B2C #5A872B #2B8786
split-complementary
#582B87 #87862B #2C872B
monochromatic
#1B0D2A #3A1C59 #582B87 #763AB5 #9560CC

Accessibility & contrast

On white

9.95
#582B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#582B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B87
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B87#FFFFFF#000000##FFFFFF
##582B871.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#4F4055
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582b87;
/* rgb */ color: rgb(88, 43, 135);
/* oklch */ color: oklch(39.9% 0.147 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b68ab',
    500: '#582b87',
    950: '#000000',
  },
}
SCSS
$custom: #582b87;
$custom-light: #8b68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582b87",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 269.348,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39868,
    "c": 0.14739,
    "h": 302.6
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#582B87
secondary
#88B25B
accent
#DB4D95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582B87

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

Preview Lab → · Contrast checker → · Palette generator →

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