#582AA1#582AA1

#582AA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.179 H 295.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#582AA1
RGBrgb(88, 42, 161)
HSLhsl(263, 59%, 40%)
HSVhsv(263, 74%, 63%)
CMYKcmyk(45.3%, 73.9%, 0%, 36.9%)
CIE-LABlab(30.17, 46.75, -56.53)
CIE-LCHlch(30.17, 73.36, 309.59°)
OKLaboklab(41.89% 0.076 -0.1619)
OKLCHoklch(41.89% 0.179 295.1)
XYZxyz(11.2838, 6.3036, 34.3335)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA1 #73A12A
analogous
#2A38A1 #582AA1 #932AA1
triadic
#582AA1 #A1582A #2AA158
tetradic
#582AA1 #A12A38 #73A12A #2AA193
square
#582AA1 #A12A38 #73A12A #2AA193
split-complementary
#582AA1 #A1932A #38A12A
monochromatic
#231140 #3D1D70 #582AA1 #743CCC #966DD9

Accessibility & contrast

On white

9.29
#582AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#582AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA1#FFFFFF#000000##FFFFFF
##582AA11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#444963
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582aa1;
/* rgb */ color: rgb(88, 42, 161);
/* oklch */ color: oklch(41.9% 0.179 295.1);
Tailwind
colors: {
  custom: {
    50: '#8e68be',
    500: '#582aa1',
    950: '#000000',
  },
}
SCSS
$custom: #582aa1;
$custom-light: #8e68be;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa1",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 263.193,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.17885,
    "h": 295.1
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#582AA1
secondary
#9DC067
accent
#E246A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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