#582AA5#582AA5

#582AA5 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.183 H 294.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#582AA5
RGBrgb(88, 42, 165)
HSLhsl(262, 59%, 41%)
HSVhsv(262, 75%, 65%)
CMYKcmyk(46.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(30.51, 47.83, -58.38)
CIE-LCHlch(30.51, 75.47, 309.32°)
OKLaboklab(42.24% 0.075 -0.1673)
OKLCHoklch(42.24% 0.183 294.2)
XYZxyz(11.6421, 6.4469, 36.2210)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA5 #77A52A
analogous
#2A39A5 #582AA5 #952AA5
triadic
#582AA5 #A5582A #2AA558
tetradic
#582AA5 #A52A39 #77A52A #2AA595
square
#582AA5 #A52A39 #77A52A #2AA595
split-complementary
#582AA5 #A5952A #39A52A
monochromatic
#241143 #3E1E74 #582AA5 #743ECE #976FDA

Accessibility & contrast

On white

9.17
#582AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#582AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA5
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA5#FFFFFF#000000##FFFFFF
##582AA51.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#414B65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582aa5;
/* rgb */ color: rgb(88, 42, 165);
/* oklch */ color: oklch(42.2% 0.183 294.2);
Tailwind
colors: {
  custom: {
    50: '#8f68c1',
    500: '#582aa5',
    950: '#000000',
  },
}
SCSS
$custom: #582aa5;
$custom-light: #8f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa5",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 262.439,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.18339,
    "h": 294.2
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#582AA5
secondary
#A0C169
accent
#E345A8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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