#582C91#582C91

#582C91 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.158 H 299.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#582C91
RGBrgb(88, 44, 145)
HSLhsl(266, 53%, 37%)
HSVhsv(266, 70%, 57%)
CMYKcmyk(39.3%, 69.7%, 0%, 43.1%)
CIE-LABlab(29.21, 41.44, -48.31)
CIE-LCHlch(29.21, 63.65, 310.62°)
OKLaboklab(40.8% 0.077 -0.1378)
OKLCHoklch(40.8% 0.158 299.2)
XYZxyz(10.0347, 5.9203, 27.3966)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582C91 #65912C
analogous
#2C3291 #582C91 #8B2C91
triadic
#582C91 #91582C #2C9158
tetradic
#582C91 #912C32 #65912C #2C918B
square
#582C91 #912C32 #65912C #2C918B
split-complementary
#582C91 #918B2C #32912C
monochromatic
#1F1033 #3C1E62 #582C91 #743AC0 #9567D1

Accessibility & contrast

On white

9.62
#582C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#582C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582C91
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582C91#FFFFFF#000000##FFFFFF
##582C911.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#4B445B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582c91;
/* rgb */ color: rgb(88, 44, 145);
/* oklch */ color: oklch(40.8% 0.158 299.2);
Tailwind
colors: {
  custom: {
    50: '#8c68b2',
    500: '#582c91',
    950: '#000000',
  },
}
SCSS
$custom: #582c91;
$custom-light: #8c68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582c91",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 266.139,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.15784,
    "h": 299.2
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#582C91
secondary
#92B762
accent
#DD4B9D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582C91

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

Preview Lab → · Contrast checker → · Palette generator →

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