#582DB4#582DB4

#582DB4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.197 H 290.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#582DB4
RGBrgb(88, 45, 180)
HSLhsl(259, 60%, 44%)
HSVhsv(259, 75%, 71%)
CMYKcmyk(51.1%, 75%, 0%, 29.4%)
CIE-LABlab(32.36, 50.47, -64.34)
CIE-LCHlch(32.36, 81.77, 308.11°)
OKLaboklab(43.95% 0.0688 -0.1848)
OKLCHoklch(43.95% 0.197 290.4)
XYZxyz(13.1987, 7.2462, 43.8744)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DB4 #89B42D
analogous
#2D46B4 #582DB4 #9C2DB4
triadic
#582DB4 #B4582D #2DB458
tetradic
#582DB4 #B42D46 #89B42D #2DB49C
square
#582DB4 #B42D46 #89B42D #2DB49C
split-complementary
#582DB4 #B49C2D #46B42D
monochromatic
#281552 #402183 #582DB4 #774CD2 #9C7DDE

Accessibility & contrast

On white

8.57
#582DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#582DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DB4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DB4#FFFFFF#000000##FFFFFF
##582DB41.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#38526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582db4;
/* rgb */ color: rgb(88, 45, 180);
/* oklch */ color: oklch(44.0% 0.197 290.4);
Tailwind
colors: {
  custom: {
    50: '#906bcc',
    500: '#582db4',
    950: '#000000',
  },
}
SCSS
$custom: #582db4;
$custom-light: #906bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#582db4",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 259.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.1972,
    "h": 290.4
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#582DB4
secondary
#ADC776
accent
#E345B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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