#582D99#582D99

#582D99 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.166 H 296.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#582D99
RGBrgb(88, 45, 153)
HSLhsl(264, 55%, 39%)
HSVhsv(264, 71%, 60%)
CMYKcmyk(42.5%, 70.6%, 0%, 40%)
CIE-LABlab(30.04, 43.07, -51.88)
CIE-LCHlch(30.04, 67.43, 309.70°)
OKLaboklab(41.59% 0.0747 -0.1482)
OKLCHoklch(41.59% 0.166 296.7)
XYZxyz(10.7112, 6.2512, 30.7731)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D99 #6E992D
analogous
#2D3899 #582D99 #8E2D99
triadic
#582D99 #99582D #2D9958
tetradic
#582D99 #992D38 #6E992D #2D998E
square
#582D99 #992D38 #6E992D #2D998E
split-complementary
#582D99 #998E2D #38992D
monochromatic
#22113A #3D1F6A #582D99 #743DC6 #966CD4

Accessibility & contrast

On white

9.33
#582D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#582D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D99
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D99#FFFFFF#000000##FFFFFF
##582D991.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#47475F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582d99;
/* rgb */ color: rgb(88, 45, 153);
/* oklch */ color: oklch(41.6% 0.166 296.7);
Tailwind
colors: {
  custom: {
    50: '#8d69b8',
    500: '#582d99',
    950: '#000000',
  },
}
SCSS
$custom: #582d99;
$custom-light: #8d69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582d99",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 263.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41588,
    "c": 0.16597,
    "h": 296.7
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#582D99
secondary
#99BB67
accent
#DE4AA3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582D99

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

Preview Lab → · Contrast checker → · Palette generator →

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