#582AC2#582AC2

#582AC2 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.216 H 288.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#582AC2
RGBrgb(88, 42, 194)
HSLhsl(258, 64%, 46%)
HSVhsv(258, 78%, 76%)
CMYKcmyk(54.6%, 78.4%, 0%, 23.9%)
CIE-LABlab(33.19, 55.68, -71.25)
CIE-LCHlch(33.19, 90.43, 308.00°)
OKLaboklab(44.93% 0.067 -0.205)
OKLCHoklch(44.93% 0.216 288.1)
XYZxyz(14.5872, 7.6249, 51.7316)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AC2 #94C22A
analogous
#2A48C2 #582AC2 #A42AC2
triadic
#582AC2 #C2582A #2AC258
tetradic
#582AC2 #C22A48 #94C22A #2AC2A4
square
#582AC2 #C22A48 #94C22A #2AC2A4
split-complementary
#582AC2 #C2A42A #48C22A
monochromatic
#2A145D #411F90 #582AC2 #7A50D9 #A082E4

Accessibility & contrast

On white

8.32
#582AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#582AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AC2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AC2#FFFFFF#000000##FFFFFF
##582AC21.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#2B5676
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582ac2;
/* rgb */ color: rgb(88, 42, 194);
/* oklch */ color: oklch(44.9% 0.216 288.1);
Tailwind
colors: {
  custom: {
    50: '#936ad6',
    500: '#582ac2',
    950: '#000000',
  },
}
SCSS
$custom: #582ac2;
$custom-light: #936ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#582ac2",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 258.158,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.21571,
    "h": 288.1
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#582AC2
secondary
#B4CD7B
accent
#E740B5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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