#582B99#582B99

#582B99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.168 H 297.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#582B99
RGBrgb(88, 43, 153)
HSLhsl(265, 56%, 38%)
HSVhsv(265, 72%, 60%)
CMYKcmyk(42.5%, 71.9%, 0%, 40%)
CIE-LABlab(29.67, 44.10, -52.48)
CIE-LCHlch(29.67, 68.55, 310.04°)
OKLaboklab(41.33% 0.0767 -0.15)
OKLCHoklch(41.33% 0.168 297.1)
XYZxyz(10.6367, 6.1022, 30.7482)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B99 #6C992B
analogous
#2B3599 #582B99 #8F2B99
triadic
#582B99 #99582B #2B9958
tetradic
#582B99 #992B35 #6C992B #2B998F
square
#582B99 #992B35 #6C992B #2B998F
split-complementary
#582B99 #998F2B #35992B
monochromatic
#211039 #3D1E69 #582B99 #743AC8 #9569D5

Accessibility & contrast

On white

9.46
#582B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#582B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B99
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B99#FFFFFF#000000##FFFFFF
##582B991.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#47465F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582b99;
/* rgb */ color: rgb(88, 43, 153);
/* oklch */ color: oklch(41.3% 0.168 297.1);
Tailwind
colors: {
  custom: {
    50: '#8d68b8',
    500: '#582b99',
    950: '#000000',
  },
}
SCSS
$custom: #582b99;
$custom-light: #8d68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582b99",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 264.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.16847,
    "h": 297.1
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#582B99
secondary
#98BC64
accent
#DF48A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582B99

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

Preview Lab → · Contrast checker → · Palette generator →

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