#582AAC#582AAC

#582AAC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.191 H 292.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#582AAC
RGBrgb(88, 42, 172)
HSLhsl(261, 61%, 42%)
HSVhsv(261, 76%, 67%)
CMYKcmyk(48.8%, 75.6%, 0%, 32.5%)
CIE-LABlab(31.13, 49.72, -61.58)
CIE-LCHlch(31.13, 79.14, 308.92°)
OKLaboklab(42.87% 0.0733 -0.1767)
OKLCHoklch(42.87% 0.191 292.5)
XYZxyz(12.2968, 6.7088, 39.6687)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AAC #7EAC2A
analogous
#2A3DAC #582AAC #992AAC
triadic
#582AAC #AC582A #2AAC58
tetradic
#582AAC #AC2A3D #7EAC2A #2AAC99
square
#582AAC #AC2A3D #7EAC2A #2AAC99
split-complementary
#582AAC #AC992A #3DAC2A
monochromatic
#26124A #3F1E7B #582AAC #7542D1 #9973DD

Accessibility & contrast

On white

8.97
#582AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#582AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AAC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AAC#FFFFFF#000000##FFFFFF
##582AAC1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#3D4D69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582aac;
/* rgb */ color: rgb(88, 42, 172);
/* oklch */ color: oklch(42.9% 0.191 292.5);
Tailwind
colors: {
  custom: {
    50: '#9069c6',
    500: '#582aac',
    950: '#000000',
  },
}
SCSS
$custom: #582aac;
$custom-light: #9069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#582aac",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 261.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.19129,
    "h": 292.5
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#582AAC
secondary
#A6C46D
accent
#E444AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #582AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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