#582A73#582A73

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

Color values

HEX#582A73
RGBrgb(88, 42, 115)
HSLhsl(278, 46%, 31%)
HSVhsv(278, 63%, 45%)
CMYKcmyk(23.5%, 63.5%, 0%, 54.9%)
CIE-LABlab(26.65, 34.82, -33.65)
CIE-LCHlch(26.65, 48.42, 315.97°)
OKLaboklab(38.26% 0.082 -0.0947)
OKLCHoklch(38.26% 0.125 310.9)
XYZxyz(7.9464, 4.9686, 16.7568)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A73 #45732A
analogous
#332A73 #582A73 #732A69
triadic
#582A73 #73582A #2A7358
tetradic
#582A73 #73332A #45732A #2A6973
square
#582A73 #73332A #45732A #2A6973
split-complementary
#582A73 #69732A #2A7333
monochromatic
#130919 #361A46 #582A73 #7A3AA0 #9A56C1

Accessibility & contrast

On white

10.53
#582A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#582A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A73
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A73#FFFFFF#000000##FFFFFF
##582A731.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#55384A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582a73;
/* rgb */ color: rgb(88, 42, 115);
/* oklch */ color: oklch(38.3% 0.125 310.9);
Tailwind
colors: {
  custom: {
    50: '#8a669c',
    500: '#582a73',
    950: '#000000',
  },
}
SCSS
$custom: #582a73;
$custom-light: #8a669c;
$custom-dark: #000000;
JSON
{
  "hex": "#582a73",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 277.808,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.12529,
    "h": 310.9
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#582A73
secondary
#72A554
accent
#D65283
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582A73

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

Preview Lab → · Contrast checker → · Palette generator →

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