#582AB6#582AB6

#582AB6 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.202 H 290.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#582AB6
RGBrgb(88, 42, 182)
HSLhsl(260, 63%, 44%)
HSVhsv(260, 77%, 71%)
CMYKcmyk(51.6%, 76.9%, 0%, 28.6%)
CIE-LABlab(32.05, 52.43, -66.04)
CIE-LCHlch(32.05, 84.32, 308.44°)
OKLaboklab(43.79% 0.0706 -0.1898)
OKLCHoklch(43.79% 0.202 290.4)
XYZxyz(13.2935, 7.1075, 44.9183)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AB6 #88B62A
analogous
#2A42B6 #582AB6 #9E2AB6
triadic
#582AB6 #B6582A #2AB658
tetradic
#582AB6 #B62A42 #88B62A #2AB69E
square
#582AB6 #B62A42 #88B62A #2AB69E
split-complementary
#582AB6 #B69E2A #42B62A
monochromatic
#281353 #401F84 #582AB6 #7748D5 #9C7AE0

Accessibility & contrast

On white

8.67
#582AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#582AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AB6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AB6#FFFFFF#000000##FFFFFF
##582AB61.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#36516F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582ab6;
/* rgb */ color: rgb(88, 42, 182);
/* oklch */ color: oklch(43.8% 0.202 290.4);
Tailwind
colors: {
  custom: {
    50: '#9169cd',
    500: '#582ab6',
    950: '#000000',
  },
}
SCSS
$custom: #582ab6;
$custom-light: #9169cd;
$custom-dark: #000000;
JSON
{
  "hex": "#582ab6",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 259.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.20247,
    "h": 290.4
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#582AB6
secondary
#ACC873
accent
#E642B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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