#582E89#582E89

#582E89 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.146 H 301.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#582E89
RGBrgb(88, 46, 137)
HSLhsl(268, 50%, 36%)
HSVhsv(268, 66%, 54%)
CMYKcmyk(35.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(28.99, 38.24, -43.72)
CIE-LCHlch(28.99, 58.08, 311.17°)
OKLaboklab(40.45% 0.0757 -0.1243)
OKLCHoklch(40.45% 0.146 301.4)
XYZxyz(9.5158, 5.8348, 24.2870)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E89 #5F892E
analogous
#2E3189 #582E89 #852E89
triadic
#582E89 #89582E #2E8958
tetradic
#582E89 #892E31 #5F892E #2E8985
square
#582E89 #892E31 #5F892E #2E8985
split-complementary
#582E89 #89852E #31892E
monochromatic
#1D0F2D #3B1F5B #582E89 #753DB7 #9566CC

Accessibility & contrast

On white

9.69
#582E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582E89
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E89#FFFFFF#000000##FFFFFF
##582E891.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#084487
Tritanopia (blue-blind)
#4E4257
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582e89;
/* rgb */ color: rgb(88, 46, 137);
/* oklch */ color: oklch(40.4% 0.146 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b69ac',
    500: '#582e89',
    950: '#000000',
  },
}
SCSS
$custom: #582e89;
$custom-light: #8b69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#582e89",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 267.692,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.14551,
    "h": 301.4
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#582E89
secondary
#8DB260
accent
#D94F99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582E89

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

Preview Lab → · Contrast checker → · Palette generator →

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