#582E87#582E87

#582E87 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.143 H 302.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#582E87
RGBrgb(88, 46, 135)
HSLhsl(268, 49%, 35%)
HSVhsv(268, 66%, 53%)
CMYKcmyk(34.8%, 65.9%, 0%, 47.1%)
CIE-LABlab(28.85, 37.71, -42.71)
CIE-LCHlch(28.85, 56.98, 311.44°)
OKLaboklab(40.29% 0.0759 -0.1213)
OKLCHoklch(40.29% 0.143 302)
XYZxyz(9.3736, 5.7779, 23.5384)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E87 #5D872E
analogous
#2E3087 #582E87 #842E87
triadic
#582E87 #87582E #2E8758
tetradic
#582E87 #872E30 #5D872E #2E8784
square
#582E87 #872E30 #5D872E #2E8784
split-complementary
#582E87 #87842E #30872E
monochromatic
#1C0F2C #3A1E59 #582E87 #763EB5 #9565CA

Accessibility & contrast

On white

9.74
#582E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#582E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E87
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E87#FFFFFF#000000##FFFFFF
##582E871.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#0D4485
Tritanopia (blue-blind)
#4E4156
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582e87;
/* rgb */ color: rgb(88, 46, 135);
/* oklch */ color: oklch(40.3% 0.143 302.0);
Tailwind
colors: {
  custom: {
    50: '#8b69ab',
    500: '#582e87',
    950: '#000000',
  },
}
SCSS
$custom: #582e87;
$custom-light: #8b69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582e87",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 268.315,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.14308,
    "h": 302
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#582E87
secondary
#8BB160
accent
#D94F98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582E87

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

Preview Lab → · Contrast checker → · Palette generator →

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