#582BB6#582BB6

#582BB6 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.201 H 290.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#582BB6
RGBrgb(88, 43, 182)
HSLhsl(259, 62%, 44%)
HSVhsv(259, 76%, 71%)
CMYKcmyk(51.6%, 76.4%, 0%, 28.6%)
CIE-LABlab(32.21, 51.96, -65.77)
CIE-LCHlch(32.21, 83.82, 308.31°)
OKLaboklab(43.9% 0.0698 -0.189)
OKLCHoklch(43.9% 0.201 290.3)
XYZxyz(13.3294, 7.1793, 44.9303)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BB6 #89B62B
analogous
#2B44B6 #582BB6 #9E2BB6
triadic
#582BB6 #B6582B #2BB658
tetradic
#582BB6 #B62B44 #89B62B #2BB69E
square
#582BB6 #B62B44 #89B62B #2BB69E
split-complementary
#582BB6 #B69E2B #44B62B
monochromatic
#281453 #401F84 #582BB6 #774AD4 #9C7BE0

Accessibility & contrast

On white

8.62
#582BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582BB6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BB6#FFFFFF#000000##FFFFFF
##582BB61.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#36526F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582bb6;
/* rgb */ color: rgb(88, 43, 182);
/* oklch */ color: oklch(43.9% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#916acd',
    500: '#582bb6',
    950: '#000000',
  },
}
SCSS
$custom: #582bb6;
$custom-light: #916acd;
$custom-dark: #000000;
JSON
{
  "hex": "#582bb6",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 259.424,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.20149,
    "h": 290.3
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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