#582D7D#582D7D

#582D7D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 306.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#582D7D
RGBrgb(88, 45, 125)
HSLhsl(272, 47%, 33%)
HSVhsv(272, 64%, 49%)
CMYKcmyk(29.6%, 64%, 0%, 51%)
CIE-LABlab(27.93, 35.66, -37.93)
CIE-LCHlch(27.93, 52.06, 313.24°)
OKLaboklab(39.41% 0.0778 -0.1072)
OKLCHoklch(39.41% 0.132 306)
XYZxyz(8.6638, 5.4322, 19.9902)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D7D #527D2D
analogous
#302D7D #582D7D #7D2D7A
triadic
#582D7D #7D582D #2D7D58
tetradic
#582D7D #7D302D #527D2D #2D7A7D
square
#582D7D #7D302D #527D2D #2D7A7D
split-complementary
#582D7D #7A7D2D #2D7D30
monochromatic
#190D23 #381D50 #582D7D #783DAA #965FC5

Accessibility & contrast

On white

10.07
#582D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#582D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D7D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D7D#FFFFFF#000000##FFFFFF
##582D7D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024180
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#523D50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582d7d;
/* rgb */ color: rgb(88, 45, 125);
/* oklch */ color: oklch(39.4% 0.132 306.0);
Tailwind
colors: {
  custom: {
    50: '#8a68a3',
    500: '#582d7d',
    950: '#000000',
  },
}
SCSS
$custom: #582d7d;
$custom-light: #8a68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#582d7d",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 272.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.13247,
    "h": 306
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#582D7D
secondary
#80AC5A
accent
#D7518F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #582D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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