#582CAB#582CAB

#582CAB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.188 H 292.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#582CAB
RGBrgb(88, 44, 171)
HSLhsl(261, 59%, 42%)
HSVhsv(261, 74%, 67%)
CMYKcmyk(48.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(31.38, 48.48, -60.57)
CIE-LCHlch(31.38, 77.58, 308.68°)
OKLaboklab(43.02% 0.0718 -0.1738)
OKLCHoklch(43.02% 0.188 292.5)
XYZxyz(12.2738, 6.8159, 39.1891)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CAB #7FAB2C
analogous
#2C40AB #582CAB #972CAB
triadic
#582CAB #AB582C #2CAB58
tetradic
#582CAB #AB2C40 #7FAB2C #2CAB97
square
#582CAB #AB2C40 #7FAB2C #2CAB97
split-complementary
#582CAB #AB972C #40AB2C
monochromatic
#26134A #3F1F7A #582CAB #7545CF #9976DC

Accessibility & contrast

On white

8.89
#582CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#582CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CAB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CAB#FFFFFF#000000##FFFFFF
##582CAB1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#3E4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582cab;
/* rgb */ color: rgb(88, 44, 171);
/* oklch */ color: oklch(43.0% 0.188 292.5);
Tailwind
colors: {
  custom: {
    50: '#8f6ac5',
    500: '#582cab',
    950: '#000000',
  },
}
SCSS
$custom: #582cab;
$custom-light: #8f6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#582cab",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 260.787,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.18802,
    "h": 292.5
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#582CAB
secondary
#A6C36F
accent
#E246AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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