#582091#582091

#582091 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.172 H 301.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#582091
RGBrgb(88, 32, 145)
HSLhsl(270, 64%, 35%)
HSVhsv(270, 78%, 57%)
CMYKcmyk(39.3%, 77.9%, 0%, 43.1%)
CIE-LABlab(27.16, 47.21, -51.65)
CIE-LCHlch(27.16, 69.97, 312.43°)
OKLaboklab(39.35% 0.0891 -0.1475)
OKLCHoklch(39.35% 0.172 301.1)
XYZxyz(9.6506, 5.1520, 27.2686)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582091 #599120
analogous
#202091 #582091 #912091
triadic
#582091 #915820 #209158
tetradic
#582091 #912020 #599120 #209191
square
#582091 #912020 #599120 #209191
split-complementary
#582091 #919120 #209120
monochromatic
#1B0A2D #3A155F #582091 #762BC3 #9552D9

Accessibility & contrast

On white

10.34
#582091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#582091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582091
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582091#FFFFFF#000000##FFFFFF
##5820911.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#4B3E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582091;
/* rgb */ color: rgb(88, 32, 145);
/* oklch */ color: oklch(39.3% 0.172 301.1);
Tailwind
colors: {
  custom: {
    50: '#8d62b2',
    500: '#582091',
    950: '#000000',
  },
}
SCSS
$custom: #582091;
$custom-light: #8d62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582091",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 269.735,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39346,
    "c": 0.17229,
    "h": 301.1
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#582091
secondary
#87BC51
accent
#E74195
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582091

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

Preview Lab → · Contrast checker → · Palette generator →

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