#582291#582291

#582291 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.170 H 300.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#582291
RGBrgb(88, 34, 145)
HSLhsl(269, 62%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(39.3%, 76.6%, 0%, 43.1%)
CIE-LABlab(27.47, 46.33, -51.14)
CIE-LCHlch(27.47, 69.01, 312.17°)
OKLaboklab(39.56% 0.0872 -0.146)
OKLCHoklch(39.56% 0.17 300.9)
XYZxyz(9.7061, 5.2630, 27.2871)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582291 #5B9122
analogous
#222491 #582291 #8F2291
triadic
#582291 #915822 #229158
tetradic
#582291 #912224 #5B9122 #22918F
square
#582291 #912224 #5B9122 #22918F
split-complementary
#582291 #918F22 #249122
monochromatic
#1C0B2E #3A165F #582291 #762EC3 #9556D7

Accessibility & contrast

On white

10.23
#582291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#582291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582291
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582291#FFFFFF#000000##FFFFFF
##5822911.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#4B3F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582291;
/* rgb */ color: rgb(88, 34, 145);
/* oklch */ color: oklch(39.6% 0.170 300.9);
Tailwind
colors: {
  custom: {
    50: '#8d63b2',
    500: '#582291',
    950: '#000000',
  },
}
SCSS
$custom: #582291;
$custom-light: #8d63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582291",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 269.189,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.1701,
    "h": 300.9
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#582291
secondary
#89BB53
accent
#E54396
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582291

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

Preview Lab → · Contrast checker → · Palette generator →

#582291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva