#582AA4#582AA4

#582AA4 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.182 H 294.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#582AA4
RGBrgb(88, 42, 164)
HSLhsl(263, 59%, 40%)
HSVhsv(263, 74%, 64%)
CMYKcmyk(46.3%, 74.4%, 0%, 35.7%)
CIE-LABlab(30.43, 47.56, -57.92)
CIE-LCHlch(30.43, 74.95, 309.39°)
OKLaboklab(42.15% 0.0753 -0.166)
OKLCHoklch(42.15% 0.182 294.4)
XYZxyz(11.5515, 6.4106, 35.7435)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA4 #76A42A
analogous
#2A39A4 #582AA4 #952AA4
triadic
#582AA4 #A4582A #2AA458
tetradic
#582AA4 #A42A39 #76A42A #2AA495
square
#582AA4 #A42A39 #76A42A #2AA495
split-complementary
#582AA4 #A4952A #39A42A
monochromatic
#241143 #3E1E73 #582AA4 #743ECD #976EDA

Accessibility & contrast

On white

9.20
#582AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#582AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA4#FFFFFF#000000##FFFFFF
##582AA41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#424A65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582aa4;
/* rgb */ color: rgb(88, 42, 164);
/* oklch */ color: oklch(42.1% 0.182 294.4);
Tailwind
colors: {
  custom: {
    50: '#8e68c0',
    500: '#582aa4',
    950: '#000000',
  },
}
SCSS
$custom: #582aa4;
$custom-light: #8e68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa4",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 262.623,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.18225,
    "h": 294.4
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#582AA4
secondary
#A0C169
accent
#E245A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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