#582AB7#582AB7

#582AB7 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.204 H 290.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#582AB7
RGBrgb(88, 42, 183)
HSLhsl(260, 63%, 44%)
HSVhsv(260, 77%, 72%)
CMYKcmyk(51.9%, 77%, 0%, 28.2%)
CIE-LABlab(32.14, 52.70, -66.48)
CIE-LCHlch(32.14, 84.83, 308.40°)
OKLaboklab(43.88% 0.0703 -0.1911)
OKLCHoklch(43.88% 0.204 290.2)
XYZxyz(13.3972, 7.1490, 45.4645)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AB7 #89B72A
analogous
#2A43B7 #582AB7 #9F2AB7
triadic
#582AB7 #B7582A #2AB758
tetradic
#582AB7 #B72A43 #89B72A #2AB79F
square
#582AB7 #B72A43 #89B72A #2AB79F
split-complementary
#582AB7 #B79F2A #43B72A
monochromatic
#281353 #401F85 #582AB7 #7749D5 #9C7BE1

Accessibility & contrast

On white

8.64
#582AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#582AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AB7
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AB7#FFFFFF#000000##FFFFFF
##582AB71.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#35526F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582ab7;
/* rgb */ color: rgb(88, 42, 183);
/* oklch */ color: oklch(43.9% 0.204 290.2);
Tailwind
colors: {
  custom: {
    50: '#9169ce',
    500: '#582ab7',
    950: '#000000',
  },
}
SCSS
$custom: #582ab7;
$custom-light: #9169ce;
$custom-dark: #000000;
JSON
{
  "hex": "#582ab7",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 259.574,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.20359,
    "h": 290.2
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#582AB7
secondary
#ADC974
accent
#E642B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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