#582CAC#582CAC

#582CAC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.189 H 292.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#582CAC
RGBrgb(88, 44, 172)
HSLhsl(261, 59%, 42%)
HSVhsv(261, 74%, 67%)
CMYKcmyk(48.8%, 74.4%, 0%, 32.5%)
CIE-LABlab(31.47, 48.76, -61.02)
CIE-LCHlch(31.47, 78.11, 308.63°)
OKLaboklab(43.11% 0.0716 -0.1751)
OKLCHoklch(43.11% 0.189 292.2)
XYZxyz(12.3695, 6.8542, 39.6930)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CAC #80AC2C
analogous
#2C40AC #582CAC #982CAC
triadic
#582CAC #AC582C #2CAC58
tetradic
#582CAC #AC2C40 #80AC2C #2CAC98
square
#582CAC #AC2C40 #80AC2C #2CAC98
split-complementary
#582CAC #AC982C #40AC2C
monochromatic
#26134B #3F207B #582CAC #7546D0 #9976DC

Accessibility & contrast

On white

8.86
#582CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#582CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CAC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CAC#FFFFFF#000000##FFFFFF
##582CAC1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#3D4E6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582cac;
/* rgb */ color: rgb(88, 44, 172);
/* oklch */ color: oklch(43.1% 0.189 292.2);
Tailwind
colors: {
  custom: {
    50: '#8f6ac6',
    500: '#582cac',
    950: '#000000',
  },
}
SCSS
$custom: #582cac;
$custom-light: #8f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#582cac",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 260.625,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.18916,
    "h": 292.2
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#582CAC
secondary
#A7C470
accent
#E245AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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