#582CAA#582CAA

#582CAA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.187 H 292.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#582CAA
RGBrgb(88, 44, 170)
HSLhsl(261, 59%, 42%)
HSVhsv(261, 74%, 67%)
CMYKcmyk(48.2%, 74.1%, 0%, 33.3%)
CIE-LABlab(31.30, 48.21, -60.11)
CIE-LCHlch(31.30, 77.06, 308.73°)
OKLaboklab(42.93% 0.0721 -0.1724)
OKLCHoklch(42.93% 0.187 292.7)
XYZxyz(12.1789, 6.7779, 38.6890)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CAA #7EAA2C
analogous
#2C3FAA #582CAA #972CAA
triadic
#582CAA #AA582C #2CAA58
tetradic
#582CAA #AA2C3F #7EAA2C #2CAA97
square
#582CAA #AA2C3F #7EAA2C #2CAA97
split-complementary
#582CAA #AA972C #3FAA2C
monochromatic
#261349 #3F1F79 #582CAA #7544CF #9975DB

Accessibility & contrast

On white

8.91
#582CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582CAA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CAA#FFFFFF#000000##FFFFFF
##582CAA1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#3E4D69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582caa;
/* rgb */ color: rgb(88, 44, 170);
/* oklch */ color: oklch(42.9% 0.187 292.7);
Tailwind
colors: {
  custom: {
    50: '#8f6ac4',
    500: '#582caa',
    950: '#000000',
  },
}
SCSS
$custom: #582caa;
$custom-light: #8f6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#582caa",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 260.952,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.18688,
    "h": 292.7
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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