#582CB5#582CB5

#582CB5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.199 H 290.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#582CB5
RGBrgb(88, 44, 181)
HSLhsl(259, 61%, 44%)
HSVhsv(259, 76%, 71%)
CMYKcmyk(51.4%, 75.7%, 0%, 29%)
CIE-LABlab(32.28, 51.22, -65.06)
CIE-LCHlch(32.28, 82.81, 308.21°)
OKLaboklab(43.92% 0.0693 -0.1869)
OKLCHoklch(43.92% 0.199 290.3)
XYZxyz(13.2633, 7.2117, 44.4002)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CB5 #89B52C
analogous
#2C45B5 #582CB5 #9D2CB5
triadic
#582CB5 #B5582C #2CB558
tetradic
#582CB5 #B52C45 #89B52C #2CB59D
square
#582CB5 #B52C45 #89B52C #2CB59D
split-complementary
#582CB5 #B59D2C #45B52C
monochromatic
#281453 #402084 #582CB5 #774BD3 #9C7CDF

Accessibility & contrast

On white

8.60
#582CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#582CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CB5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CB5#FFFFFF#000000##FFFFFF
##582CB51.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#37526F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582cb5;
/* rgb */ color: rgb(88, 44, 181);
/* oklch */ color: oklch(43.9% 0.199 290.3);
Tailwind
colors: {
  custom: {
    50: '#916acc',
    500: '#582cb5',
    950: '#000000',
  },
}
SCSS
$custom: #582cb5;
$custom-light: #916acc;
$custom-dark: #000000;
JSON
{
  "hex": "#582cb5",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 259.27,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.19936,
    "h": 290.3
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#582CB5
secondary
#ADC875
accent
#E444B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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