#582D89#582D89

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

Color values

HEX#582D89
RGBrgb(88, 45, 137)
HSLhsl(268, 51%, 36%)
HSVhsv(268, 67%, 54%)
CMYKcmyk(35.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(28.79, 38.78, -44.04)
CIE-LCHlch(28.79, 58.69, 311.37°)
OKLaboklab(40.3% 0.0769 -0.1252)
OKLCHoklch(40.3% 0.147 301.6)
XYZxyz(9.4772, 5.7576, 24.2741)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D89 #5E892D
analogous
#2D3089 #582D89 #862D89
triadic
#582D89 #89582D #2D8958
tetradic
#582D89 #892D30 #5E892D #2D8986
square
#582D89 #892D30 #5E892D #2D8986
split-complementary
#582D89 #89862D #30892D
monochromatic
#1D0F2D #3A1E5B #582D89 #763CB7 #9564CC

Accessibility & contrast

On white

9.76
#582D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#582D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D89
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D89#FFFFFF#000000##FFFFFF
##582D891.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#054387
Tritanopia (blue-blind)
#4E4257
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582d89;
/* rgb */ color: rgb(88, 45, 137);
/* oklch */ color: oklch(40.3% 0.147 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b69ac',
    500: '#582d89',
    950: '#000000',
  },
}
SCSS
$custom: #582d89;
$custom-light: #8b69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#582d89",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 268.043,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.14694,
    "h": 301.6
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#582D89
secondary
#8CB35F
accent
#DA4E98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582D89

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

Preview Lab → · Contrast checker → · Palette generator →

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