#582E9E#582E9E

#582E9E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.171 H 295.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#582E9E
RGBrgb(88, 46, 158)
HSLhsl(263, 55%, 40%)
HSVhsv(263, 71%, 62%)
CMYKcmyk(44.3%, 70.9%, 0%, 38%)
CIE-LABlab(30.63, 43.92, -53.95)
CIE-LCHlch(30.63, 69.56, 309.15°)
OKLaboklab(42.14% 0.0727 -0.1543)
OKLCHoklch(42.14% 0.171 295.2)
XYZxyz(11.1714, 6.4970, 33.0066)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E9E #749E2E
analogous
#2E3C9E #582E9E #902E9E
triadic
#582E9E #9E582E #2E9E58
tetradic
#582E9E #9E2E3C #749E2E #2E9E90
square
#582E9E #9E2E3C #749E2E #2E9E90
split-complementary
#582E9E #9E902E #3C9E2E
monochromatic
#23123F #3E206F #582E9E #7441C8 #9771D6

Accessibility & contrast

On white

9.13
#582E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#582E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E9E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E9E#FFFFFF#000000##FFFFFF
##582E9E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#454A62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582e9e;
/* rgb */ color: rgb(88, 46, 158);
/* oklch */ color: oklch(42.1% 0.171 295.2);
Tailwind
colors: {
  custom: {
    50: '#8d6abc',
    500: '#582e9e',
    950: '#000000',
  },
}
SCSS
$custom: #582e9e;
$custom-light: #8d6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#582e9e",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 262.5,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.17061,
    "h": 295.2
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#582E9E
secondary
#9EBD6B
accent
#DE4AA6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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