#582A79#582A79

#582A79 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.132 H 308.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#582A79
RGBrgb(88, 42, 121)
HSLhsl(275, 48%, 32%)
HSVhsv(275, 65%, 47%)
CMYKcmyk(27.3%, 65.3%, 0%, 52.5%)
CIE-LABlab(27.05, 36.30, -36.82)
CIE-LCHlch(27.05, 51.70, 314.59°)
OKLaboklab(38.68% 0.0819 -0.104)
OKLCHoklch(38.68% 0.132 308.2)
XYZxyz(8.3030, 5.1112, 18.6346)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A79 #4B792A
analogous
#312A79 #582A79 #792A73
triadic
#582A79 #79582A #2A7958
tetradic
#582A79 #79312A #4B792A #2A7379
square
#582A79 #79312A #4B792A #2A7379
split-complementary
#582A79 #73792A #2A7931
monochromatic
#160A1E #371A4C #582A79 #793AA6 #9858C5

Accessibility & contrast

On white

10.38
#582A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#582A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A79
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A79#FFFFFF#000000##FFFFFF
##582A791.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#1D4077
Tritanopia (blue-blind)
#533A4D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582a79;
/* rgb */ color: rgb(88, 42, 121);
/* oklch */ color: oklch(38.7% 0.132 308.2);
Tailwind
colors: {
  custom: {
    50: '#8a66a0',
    500: '#582a79',
    950: '#000000',
  },
}
SCSS
$custom: #582a79;
$custom-light: #8a66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582a79",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 274.937,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.13234,
    "h": 308.2
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#582A79
secondary
#78AB54
accent
#D85089
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #582A79

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

Preview Lab → · Contrast checker → · Palette generator →

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