#582D9B#582D9B

#582D9B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.168 H 296.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#582D9B
RGBrgb(88, 45, 155)
HSLhsl(263, 55%, 39%)
HSVhsv(263, 71%, 61%)
CMYKcmyk(43.2%, 71%, 0%, 39.2%)
CIE-LABlab(30.20, 43.62, -52.83)
CIE-LCHlch(30.20, 68.51, 309.54°)
OKLaboklab(41.76% 0.0743 -0.151)
OKLCHoklch(41.76% 0.168 296.2)
XYZxyz(10.8777, 6.3178, 31.6503)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D9B #709B2D
analogous
#2D399B #582D9B #8F2D9B
triadic
#582D9B #9B582D #2D9B58
tetradic
#582D9B #9B2D39 #709B2D #2D9B8F
square
#582D9B #9B2D39 #709B2D #2D9B8F
split-complementary
#582D9B #9B8F2D #399B2D
monochromatic
#22113C #3D1F6C #582D9B #743EC7 #966ED5

Accessibility & contrast

On white

9.28
#582D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#582D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D9B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D9B#FFFFFF#000000##FFFFFF
##582D9B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#464860
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582d9b;
/* rgb */ color: rgb(88, 45, 155);
/* oklch */ color: oklch(41.8% 0.168 296.2);
Tailwind
colors: {
  custom: {
    50: '#8d69b9',
    500: '#582d9b',
    950: '#000000',
  },
}
SCSS
$custom: #582d9b;
$custom-light: #8d69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#582d9b",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 263.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41755,
    "c": 0.16833,
    "h": 296.2
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#582D9B
secondary
#9BBC68
accent
#DE49A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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