#582C8F#582C8F

#582C8F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.155 H 299.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#582C8F
RGBrgb(88, 44, 143)
HSLhsl(267, 53%, 37%)
HSVhsv(267, 69%, 56%)
CMYKcmyk(38.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(29.05, 40.91, -47.33)
CIE-LCHlch(29.05, 62.56, 310.84°)
OKLaboklab(40.64% 0.0773 -0.1349)
OKLCHoklch(40.64% 0.155 299.8)
XYZxyz(9.8819, 5.8591, 26.5916)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C8F #638F2C
analogous
#2C328F #582C8F #8A2C8F
triadic
#582C8F #8F582C #2C8F58
tetradic
#582C8F #8F2C32 #638F2C #2C8F8A
square
#582C8F #8F2C32 #638F2C #2C8F8A
split-complementary
#582C8F #8F8A2C #328F2C
monochromatic
#1E0F31 #3B1E60 #582C8F #753ABE #9566D0

Accessibility & contrast

On white

9.67
#582C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C8F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C8F#FFFFFF#000000##FFFFFF
##582C8F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#4C435A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582c8f;
/* rgb */ color: rgb(88, 44, 143);
/* oklch */ color: oklch(40.6% 0.155 299.8);
Tailwind
colors: {
  custom: {
    50: '#8c68b0',
    500: '#582c8f',
    950: '#000000',
  },
}
SCSS
$custom: #582c8f;
$custom-light: #8c68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#582c8f",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 266.667,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.15548,
    "h": 299.8
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#582C8F
secondary
#90B661
accent
#DC4B9C
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #582C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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