#582A84#582A84

#582A84 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.145 H 303.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#582A84
RGBrgb(88, 42, 132)
HSLhsl(271, 52%, 34%)
HSVhsv(271, 68%, 52%)
CMYKcmyk(33.3%, 68.2%, 0%, 48.2%)
CIE-LABlab(27.84, 39.09, -42.47)
CIE-LCHlch(27.84, 57.72, 312.62°)
OKLaboklab(39.5% 0.081 -0.1206)
OKLCHoklch(39.5% 0.145 303.9)
XYZxyz(9.0164, 5.3966, 22.3920)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A84 #56842A
analogous
#2B2A84 #582A84 #842A83
triadic
#582A84 #84582A #2A8458
tetradic
#582A84 #842B2A #56842A #2A8384
square
#582A84 #842B2A #56842A #2A8384
split-complementary
#582A84 #83842A #2A842B
monochromatic
#1A0C27 #391B56 #582A84 #7739B2 #955DCB

Accessibility & contrast

On white

10.10
#582A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A84
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A84#FFFFFF#000000##FFFFFF
##582A841.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#0A4282
Tritanopia (blue-blind)
#503E53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582a84;
/* rgb */ color: rgb(88, 42, 132);
/* oklch */ color: oklch(39.5% 0.145 303.9);
Tailwind
colors: {
  custom: {
    50: '#8b67a8',
    500: '#582a84',
    950: '#000000',
  },
}
SCSS
$custom: #582a84;
$custom-light: #8b67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582a84",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 270.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.14528,
    "h": 303.9
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#582A84
secondary
#84B159
accent
#DB4D92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A84

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

Preview Lab → · Contrast checker → · Palette generator →

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