#582E91#582E91

#582E91 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.155 H 298.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#582E91
RGBrgb(88, 46, 145)
HSLhsl(265, 52%, 37%)
HSVhsv(265, 68%, 57%)
CMYKcmyk(39.3%, 68.3%, 0%, 43.1%)
CIE-LABlab(29.60, 40.38, -47.69)
CIE-LCHlch(29.60, 62.49, 310.26°)
OKLaboklab(41.07% 0.0748 -0.1359)
OKLCHoklch(41.07% 0.155 298.8)
XYZxyz(10.1110, 6.0729, 27.4221)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E91 #67912E
analogous
#2E3591 #582E91 #8A2E91
triadic
#582E91 #91582E #2E9158
tetradic
#582E91 #912E35 #67912E #2E918A
square
#582E91 #912E35 #67912E #2E918A
split-complementary
#582E91 #918A2E #35912E
monochromatic
#201134 #3C1F63 #582E91 #743DBF #956AD0

Accessibility & contrast

On white

9.48
#582E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#582E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E91
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E91#FFFFFF#000000##FFFFFF
##582E911.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#4B455B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582e91;
/* rgb */ color: rgb(88, 46, 145);
/* oklch */ color: oklch(41.1% 0.155 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ab2',
    500: '#582e91',
    950: '#000000',
  },
}
SCSS
$custom: #582e91;
$custom-light: #8c6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#582e91",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 265.455,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.15515,
    "h": 298.8
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#582E91
secondary
#94B764
accent
#DB4D9F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #582E91

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

Preview Lab → · Contrast checker → · Palette generator →

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