#582AA3#582AA3

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

Color values

HEX#582AA3
RGBrgb(88, 42, 163)
HSLhsl(263, 59%, 40%)
HSVhsv(263, 74%, 64%)
CMYKcmyk(46%, 74.2%, 0%, 36.1%)
CIE-LABlab(30.34, 47.29, -57.46)
CIE-LCHlch(30.34, 74.42, 309.45°)
OKLaboklab(42.06% 0.0755 -0.1646)
OKLCHoklch(42.06% 0.181 294.6)
XYZxyz(11.4615, 6.3747, 35.2698)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA3 #75A32A
analogous
#2A39A3 #582AA3 #942AA3
triadic
#582AA3 #A3582A #2AA358
tetradic
#582AA3 #A32A39 #75A32A #2AA394
square
#582AA3 #A32A39 #75A32A #2AA394
split-complementary
#582AA3 #A3942A #39A32A
monochromatic
#231142 #3E1D72 #582AA3 #743DCD #976EDA

Accessibility & contrast

On white

9.23
#582AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582AA3
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA3#FFFFFF#000000##FFFFFF
##582AA31.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#424A64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582aa3;
/* rgb */ color: rgb(88, 42, 163);
/* oklch */ color: oklch(42.1% 0.181 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e68bf',
    500: '#582aa3',
    950: '#000000',
  },
}
SCSS
$custom: #582aa3;
$custom-light: #8e68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa3",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 262.81,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.18112,
    "h": 294.6
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#582AA3
secondary
#9FC068
accent
#E246A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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