#582B91#582B91

#582B91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.159 H 299.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#582B91
RGBrgb(88, 43, 145)
HSLhsl(266, 54%, 37%)
HSVhsv(266, 70%, 57%)
CMYKcmyk(39.3%, 70.3%, 0%, 43.1%)
CIE-LABlab(29.02, 41.96, -48.62)
CIE-LCHlch(29.02, 64.22, 310.80°)
OKLaboklab(40.66% 0.0781 -0.1386)
OKLCHoklch(40.66% 0.159 299.4)
XYZxyz(9.9979, 5.8467, 27.3844)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B91 #64912B
analogous
#2B3191 #582B91 #8B2B91
triadic
#582B91 #91582B #2B9158
tetradic
#582B91 #912B31 #64912B #2B918B
square
#582B91 #912B31 #64912B #2B918B
split-complementary
#582B91 #918B2B #31912B
monochromatic
#1F0F33 #3B1D62 #582B91 #7539C0 #9565D1

Accessibility & contrast

On white

9.68
#582B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B91
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B91#FFFFFF#000000##FFFFFF
##582B911.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#4B435A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582b91;
/* rgb */ color: rgb(88, 43, 145);
/* oklch */ color: oklch(40.7% 0.159 299.4);
Tailwind
colors: {
  custom: {
    50: '#8c68b2',
    500: '#582b91',
    950: '#000000',
  },
}
SCSS
$custom: #582b91;
$custom-light: #8c68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582b91",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 266.471,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.15915,
    "h": 299.4
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#582B91
secondary
#91B860
accent
#DE4A9D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582B91

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

Preview Lab → · Contrast checker → · Palette generator →

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