#582C8D#582C8D

#582C8D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.153 H 300.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#582C8D
RGBrgb(88, 44, 141)
HSLhsl(267, 52%, 36%)
HSVhsv(267, 69%, 55%)
CMYKcmyk(37.6%, 68.8%, 0%, 44.7%)
CIE-LABlab(28.90, 40.38, -46.35)
CIE-LCHlch(28.90, 61.47, 311.06°)
OKLaboklab(40.48% 0.0776 -0.132)
OKLCHoklch(40.48% 0.153 300.5)
XYZxyz(9.7317, 5.7991, 25.8008)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C8D #618D2C
analogous
#2C318D #582C8D #892C8D
triadic
#582C8D #8D582C #2C8D58
tetradic
#582C8D #8D2C31 #618D2C #2C8D89
square
#582C8D #8D2C31 #618D2C #2C8D89
split-complementary
#582C8D #8D892C #318D2C
monochromatic
#1E0F30 #3B1D5E #582C8D #753BBC #9565CF

Accessibility & contrast

On white

9.72
#582C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#582C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C8D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C8D#FFFFFF#000000##FFFFFF
##582C8D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#4C4259
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582c8d;
/* rgb */ color: rgb(88, 44, 141);
/* oklch */ color: oklch(40.5% 0.153 300.5);
Tailwind
colors: {
  custom: {
    50: '#8c68af',
    500: '#582c8d',
    950: '#000000',
  },
}
SCSS
$custom: #582c8d;
$custom-light: #8c68af;
$custom-dark: #000000;
JSON
{
  "hex": "#582c8d",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 267.216,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40476,
    "c": 0.15311,
    "h": 300.5
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#582C8D
secondary
#8EB560
accent
#DC4C9B
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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