#582AB5#582AB5

#582AB5 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.201 H 290.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#582AB5
RGBrgb(88, 42, 181)
HSLhsl(260, 62%, 44%)
HSVhsv(260, 77%, 71%)
CMYKcmyk(51.4%, 76.8%, 0%, 29%)
CIE-LABlab(31.96, 52.16, -65.60)
CIE-LCHlch(31.96, 83.81, 308.49°)
OKLaboklab(43.7% 0.0708 -0.1885)
OKLCHoklch(43.7% 0.201 290.6)
XYZxyz(13.1906, 7.0663, 44.3760)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AB5 #87B52A
analogous
#2A41B5 #582AB5 #9D2AB5
triadic
#582AB5 #B5582A #2AB558
tetradic
#582AB5 #B52A41 #87B52A #2AB59D
square
#582AB5 #B52A41 #87B52A #2AB59D
split-complementary
#582AB5 #B59D2A #41B52A
monochromatic
#281352 #401E83 #582AB5 #7648D4 #9B79E0

Accessibility & contrast

On white

8.70
#582AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#582AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AB5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AB5#FFFFFF#000000##FFFFFF
##582AB51.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#37516E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582ab5;
/* rgb */ color: rgb(88, 42, 181);
/* oklch */ color: oklch(43.7% 0.201 290.6);
Tailwind
colors: {
  custom: {
    50: '#9169cc',
    500: '#582ab5',
    950: '#000000',
  },
}
SCSS
$custom: #582ab5;
$custom-light: #9169cc;
$custom-dark: #000000;
JSON
{
  "hex": "#582ab5",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 259.856,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.20136,
    "h": 290.6
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#582AB5
secondary
#ACC873
accent
#E542AF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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