#582A74#582A74

#582A74 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.126 H 310.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#582A74
RGBrgb(88, 42, 116)
HSLhsl(277, 47%, 31%)
HSVhsv(277, 64%, 45%)
CMYKcmyk(24.1%, 63.8%, 0%, 54.5%)
CIE-LABlab(26.71, 35.06, -34.18)
CIE-LCHlch(26.71, 48.97, 315.73°)
OKLaboklab(38.33% 0.082 -0.0962)
OKLCHoklch(38.33% 0.126 310.4)
XYZxyz(8.0043, 4.9918, 17.0615)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A74 #46742A
analogous
#332A74 #582A74 #742A6B
triadic
#582A74 #74582A #2A7458
tetradic
#582A74 #74332A #46742A #2A6B74
square
#582A74 #74332A #46742A #2A6B74
split-complementary
#582A74 #6B742A #2A7433
monochromatic
#14091A #361A47 #582A74 #7A3AA1 #9956C2

Accessibility & contrast

On white

10.51
#582A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#582A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A74
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A74#FFFFFF#000000##FFFFFF
##582A741.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#54384B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582a74;
/* rgb */ color: rgb(88, 42, 116);
/* oklch */ color: oklch(38.3% 0.126 310.4);
Tailwind
colors: {
  custom: {
    50: '#8a669c',
    500: '#582a74',
    950: '#000000',
  },
}
SCSS
$custom: #582a74;
$custom-light: #8a669c;
$custom-dark: #000000;
JSON
{
  "hex": "#582a74",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 277.297,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.12646,
    "h": 310.4
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#582A74
secondary
#73A654
accent
#D65184
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582A74

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

Preview Lab → · Contrast checker → · Palette generator →

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