#582DB6#582DB6

#582DB6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.199 H 290.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#582DB6
RGBrgb(88, 45, 182)
HSLhsl(259, 60%, 45%)
HSVhsv(259, 75%, 71%)
CMYKcmyk(51.6%, 75.3%, 0%, 28.6%)
CIE-LABlab(32.54, 51.02, -65.23)
CIE-LCHlch(32.54, 82.81, 308.03°)
OKLaboklab(44.13% 0.0682 -0.1874)
OKLCHoklch(44.13% 0.199 290)
XYZxyz(13.4039, 7.3283, 44.9551)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DB6 #8BB62D
analogous
#2D47B6 #582DB6 #9D2DB6
triadic
#582DB6 #B6582D #2DB658
tetradic
#582DB6 #B62D47 #8BB62D #2DB69D
square
#582DB6 #B62D47 #8BB62D #2DB69D
split-complementary
#582DB6 #B69D2D #47B62D
monochromatic
#291554 #402185 #582DB6 #774DD3 #9D7EDF

Accessibility & contrast

On white

8.52
#582DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#582DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DB6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DB6#FFFFFF#000000##FFFFFF
##582DB61.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#365370
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582db6;
/* rgb */ color: rgb(88, 45, 182);
/* oklch */ color: oklch(44.1% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#916bcd',
    500: '#582db6',
    950: '#000000',
  },
}
SCSS
$custom: #582db6;
$custom-light: #916bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#582db6",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 258.832,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.19946,
    "h": 290
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#582DB6
secondary
#AEC877
accent
#E344B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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