#582A71#582A71

#582A71 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.123 H 311.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#582A71
RGBrgb(88, 42, 113)
HSLhsl(279, 46%, 30%)
HSVhsv(279, 63%, 44%)
CMYKcmyk(22.1%, 62.8%, 0%, 55.7%)
CIE-LABlab(26.51, 34.33, -32.58)
CIE-LCHlch(26.51, 47.33, 316.50°)
OKLaboklab(38.12% 0.082 -0.0916)
OKLCHoklch(38.12% 0.123 311.9)
XYZxyz(7.8326, 4.9231, 16.1572)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A71 #43712A
analogous
#342A71 #582A71 #712A66
triadic
#582A71 #71582A #2A7158
tetradic
#582A71 #71342A #43712A #2A6671
square
#582A71 #71342A #43712A #2A6671
split-complementary
#582A71 #66712A #2A7134
monochromatic
#130918 #351944 #582A71 #7B3B9E #9A55C0

Accessibility & contrast

On white

10.58
#582A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A71
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A71#FFFFFF#000000##FFFFFF
##582A711.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C73
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#553749
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582a71;
/* rgb */ color: rgb(88, 42, 113);
/* oklch */ color: oklch(38.1% 0.123 311.9);
Tailwind
colors: {
  custom: {
    50: '#89669a',
    500: '#582a71',
    950: '#000000',
  },
}
SCSS
$custom: #582a71;
$custom-light: #89669a;
$custom-dark: #000000;
JSON
{
  "hex": "#582a71",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 278.873,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.12294,
    "h": 311.9
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#582A71
secondary
#70A354
accent
#D55281
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582A71

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

Preview Lab → · Contrast checker → · Palette generator →

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