#582B9E#582B9E

#582B9E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.174 H 295.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#582B9E
RGBrgb(88, 43, 158)
HSLhsl(263, 57%, 39%)
HSVhsv(263, 73%, 62%)
CMYKcmyk(44.3%, 72.8%, 0%, 38%)
CIE-LABlab(30.09, 45.45, -54.84)
CIE-LCHlch(30.09, 71.23, 309.65°)
OKLaboklab(41.75% 0.0757 -0.1569)
OKLCHoklch(41.75% 0.174 295.8)
XYZxyz(11.0583, 6.2708, 32.9689)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B9E #719E2B
analogous
#2B389E #582B9E #922B9E
triadic
#582B9E #9E582B #2B9E58
tetradic
#582B9E #9E2B38 #719E2B #2B9E92
square
#582B9E #9E2B38 #719E2B #2B9E92
split-complementary
#582B9E #9E922B #389E2B
monochromatic
#22113E #3D1E6E #582B9E #743CCA #966CD7

Accessibility & contrast

On white

9.32
#582B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#582B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B9E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B9E#FFFFFF#000000##FFFFFF
##582B9E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#454862
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582b9e;
/* rgb */ color: rgb(88, 43, 158);
/* oklch */ color: oklch(41.8% 0.174 295.8);
Tailwind
colors: {
  custom: {
    50: '#8e68bc',
    500: '#582b9e',
    950: '#000000',
  },
}
SCSS
$custom: #582b9e;
$custom-light: #8e68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#582b9e",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 263.478,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.17424,
    "h": 295.8
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#582B9E
secondary
#9CBE67
accent
#E047A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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