#582D9E#582D9E

#582D9E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.172 H 295.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#582D9E
RGBrgb(88, 45, 158)
HSLhsl(263, 56%, 40%)
HSVhsv(263, 72%, 62%)
CMYKcmyk(44.3%, 71.5%, 0%, 38%)
CIE-LABlab(30.45, 44.43, -54.25)
CIE-LCHlch(30.45, 70.13, 309.32°)
OKLaboklab(42.01% 0.0737 -0.1552)
OKLCHoklch(42.01% 0.172 295.4)
XYZxyz(11.1328, 6.4198, 32.9937)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D9E #739E2D
analogous
#2D3A9E #582D9E #912D9E
triadic
#582D9E #9E582D #2D9E58
tetradic
#582D9E #9E2D3A #739E2D #2D9E91
square
#582D9E #9E2D3A #739E2D #2D9E91
split-complementary
#582D9E #9E912D #3A9E2D
monochromatic
#23123F #3D1F6E #582D9E #7440C9 #966FD6

Accessibility & contrast

On white

9.19
#582D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#582D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D9E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D9E#FFFFFF#000000##FFFFFF
##582D9E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#454962
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582d9e;
/* rgb */ color: rgb(88, 45, 158);
/* oklch */ color: oklch(42.0% 0.172 295.4);
Tailwind
colors: {
  custom: {
    50: '#8e6abc',
    500: '#582d9e',
    950: '#000000',
  },
}
SCSS
$custom: #582d9e;
$custom-light: #8e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#582d9e",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 262.832,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.17185,
    "h": 295.4
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#582D9E
secondary
#9DBD69
accent
#DF49A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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