#582D74#582D74

#582D74 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.122 H 309.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#582D74
RGBrgb(88, 45, 116)
HSLhsl(276, 44%, 32%)
HSVhsv(276, 61%, 45%)
CMYKcmyk(24.1%, 61.2%, 0%, 54.5%)
CIE-LABlab(27.33, 33.39, -33.19)
CIE-LCHlch(27.33, 47.08, 315.17°)
OKLaboklab(38.78% 0.0779 -0.0933)
OKLCHoklch(38.78% 0.122 309.8)
XYZxyz(8.1147, 5.2126, 17.0983)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D74 #49742D
analogous
#352D74 #582D74 #742D6D
triadic
#582D74 #74582D #2D7458
tetradic
#582D74 #74352D #49742D #2D6D74
square
#582D74 #74352D #49742D #2D6D74
split-complementary
#582D74 #6D742D #2D7435
monochromatic
#150B1C #371C48 #582D74 #793EA0 #985CC0

Accessibility & contrast

On white

10.28
#582D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#582D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D74
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D74#FFFFFF#000000##FFFFFF
##582D741.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F76
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#543A4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582d74;
/* rgb */ color: rgb(88, 45, 116);
/* oklch */ color: oklch(38.8% 0.122 309.8);
Tailwind
colors: {
  custom: {
    50: '#89689c',
    500: '#582d74',
    950: '#000000',
  },
}
SCSS
$custom: #582d74;
$custom-light: #89689c;
$custom-dark: #000000;
JSON
{
  "hex": "#582d74",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 276.338,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38778,
    "c": 0.12158,
    "h": 309.8
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#582D74
secondary
#76A557
accent
#D45486
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582D74

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

Preview Lab → · Contrast checker → · Palette generator →

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