#582191#582191

#582191 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.171 H 301.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#582191
RGBrgb(88, 33, 145)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(39.3%, 77.2%, 0%, 43.1%)
CIE-LABlab(27.32, 46.77, -51.40)
CIE-LCHlch(27.32, 69.50, 312.30°)
OKLaboklab(39.45% 0.0882 -0.1468)
OKLCHoklch(39.45% 0.171 301)
XYZxyz(9.6779, 5.2067, 27.2777)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582191 #5A9121
analogous
#212291 #582191 #902191
triadic
#582191 #915821 #219158
tetradic
#582191 #912122 #5A9121 #219190
square
#582191 #912122 #5A9121 #219190
split-complementary
#582191 #919021 #229121
monochromatic
#1B0A2D #3A165F #582191 #762CC3 #9554D8

Accessibility & contrast

On white

10.29
#582191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#582191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582191
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582191#FFFFFF#000000##FFFFFF
##5821911.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582191;
/* rgb */ color: rgb(88, 33, 145);
/* oklch */ color: oklch(39.5% 0.171 301.0);
Tailwind
colors: {
  custom: {
    50: '#8d62b2',
    500: '#582191',
    950: '#000000',
  },
}
SCSS
$custom: #582191;
$custom-light: #8d62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582191",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 269.464,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.1712,
    "h": 301
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#582191
secondary
#88BC52
accent
#E64295
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582191

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

Preview Lab → · Contrast checker → · Palette generator →

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