#582E8D#582E8D

#582E8D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.150 H 300.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#582E8D
RGBrgb(88, 46, 141)
HSLhsl(267, 51%, 37%)
HSVhsv(267, 67%, 55%)
CMYKcmyk(37.6%, 67.4%, 0%, 44.7%)
CIE-LABlab(29.29, 39.31, -45.72)
CIE-LCHlch(29.29, 60.29, 310.69°)
OKLaboklab(40.76% 0.0753 -0.1301)
OKLCHoklch(40.76% 0.15 300.1)
XYZxyz(9.8080, 5.9517, 25.8262)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E8D #638D2E
analogous
#2E348D #582E8D #882E8D
triadic
#582E8D #8D582E #2E8D58
tetradic
#582E8D #8D2E34 #638D2E #2E8D88
square
#582E8D #8D2E34 #638D2E #2E8D88
split-complementary
#582E8D #8D882E #348D2E
monochromatic
#1E1031 #3B1F5F #582E8D #753DBB #9568CE

Accessibility & contrast

On white

9.59
#582E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#582E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E8D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E8D#FFFFFF#000000##FFFFFF
##582E8D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#4C4459
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582e8d;
/* rgb */ color: rgb(88, 46, 141);
/* oklch */ color: oklch(40.8% 0.150 300.1);
Tailwind
colors: {
  custom: {
    50: '#8c6aaf',
    500: '#582e8d',
    950: '#000000',
  },
}
SCSS
$custom: #582e8d;
$custom-light: #8c6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#582e8d",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 266.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.15035,
    "h": 300.1
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#582E8D
secondary
#90B562
accent
#DA4E9C
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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