#582AAB#582AAB

#582AAB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.190 H 292.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#582AAB
RGBrgb(88, 42, 171)
HSLhsl(261, 61%, 42%)
HSVhsv(261, 75%, 67%)
CMYKcmyk(48.5%, 75.4%, 0%, 32.9%)
CIE-LABlab(31.04, 49.45, -61.12)
CIE-LCHlch(31.04, 78.62, 308.97°)
OKLaboklab(42.78% 0.0735 -0.1754)
OKLCHoklch(42.78% 0.19 292.8)
XYZxyz(12.2011, 6.6705, 39.1648)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AAB #7DAB2A
analogous
#2A3DAB #582AAB #992AAB
triadic
#582AAB #AB582A #2AAB58
tetradic
#582AAB #AB2A3D #7DAB2A #2AAB99
square
#582AAB #AB2A3D #7DAB2A #2AAB99
split-complementary
#582AAB #AB992A #3DAB2A
monochromatic
#251249 #3F1E7A #582AAB #7542D1 #9973DD

Accessibility & contrast

On white

9.00
#582AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#582AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AAB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AAB#FFFFFF#000000##FFFFFF
##582AAB1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#3E4D69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582aab;
/* rgb */ color: rgb(88, 42, 171);
/* oklch */ color: oklch(42.8% 0.190 292.8);
Tailwind
colors: {
  custom: {
    50: '#8f68c5',
    500: '#582aab',
    950: '#000000',
  },
}
SCSS
$custom: #582aab;
$custom-light: #8f68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#582aab",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 261.395,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.19017,
    "h": 292.8
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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