#582A91#582A91

#582A91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.160 H 299.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#582A91
RGBrgb(88, 42, 145)
HSLhsl(267, 55%, 37%)
HSVhsv(267, 71%, 57%)
CMYKcmyk(39.3%, 71%, 0%, 43.1%)
CIE-LABlab(28.84, 42.48, -48.92)
CIE-LCHlch(28.84, 64.79, 310.97°)
OKLaboklab(40.53% 0.0792 -0.1395)
OKLCHoklch(40.53% 0.16 299.6)
XYZxyz(9.9620, 5.7749, 27.3724)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A91 #63912A
analogous
#2A3091 #582A91 #8C2A91
triadic
#582A91 #91582A #2A9158
tetradic
#582A91 #912A30 #63912A #2A918C
square
#582A91 #912A30 #63912A #2A918C
split-complementary
#582A91 #918C2A #30912A
monochromatic
#1E0F32 #3B1C62 #582A91 #7538C0 #9563D2

Accessibility & contrast

On white

9.74
#582A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#582A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A91
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A91#FFFFFF#000000##FFFFFF
##582A911.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#4B435A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582a91;
/* rgb */ color: rgb(88, 42, 145);
/* oklch */ color: oklch(40.5% 0.160 299.6);
Tailwind
colors: {
  custom: {
    50: '#8c67b2',
    500: '#582a91',
    950: '#000000',
  },
}
SCSS
$custom: #582a91;
$custom-light: #8c67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582a91",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 266.796,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.16045,
    "h": 299.6
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#582A91
secondary
#90B85F
accent
#DE499C
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582A91

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

Preview Lab → · Contrast checker → · Palette generator →

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