#582884#582884

#582884 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.148 H 304.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#582884
RGBrgb(88, 40, 132)
HSLhsl(271, 53%, 34%)
HSVhsv(271, 70%, 52%)
CMYKcmyk(33.3%, 69.7%, 0%, 48.2%)
CIE-LABlab(27.46, 40.13, -43.08)
CIE-LCHlch(27.46, 58.88, 312.97°)
OKLaboklab(39.23% 0.0834 -0.1224)
OKLCHoklch(39.23% 0.148 304.3)
XYZxyz(8.9472, 5.2583, 22.3689)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582884 #548428
analogous
#2A2884 #582884 #842882
triadic
#582884 #845828 #288458
tetradic
#582884 #842A28 #548428 #288284
square
#582884 #842A28 #548428 #288284
split-complementary
#582884 #828428 #28842A
monochromatic
#190C26 #391A55 #582884 #7736B3 #965ACD

Accessibility & contrast

On white

10.24
#582884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#582884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582884
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582884#FFFFFF#000000##FFFFFF
##5828841.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#054182
Tritanopia (blue-blind)
#503D52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582884;
/* rgb */ color: rgb(88, 40, 132);
/* oklch */ color: oklch(39.2% 0.148 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b66a8',
    500: '#582884',
    950: '#000000',
  },
}
SCSS
$custom: #582884;
$custom-light: #8b66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582884",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 271.304,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.14807,
    "h": 304.3
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#582884
secondary
#82B256
accent
#DD4B91
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582884

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

Preview Lab → · Contrast checker → · Palette generator →

#582884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva