#582D92#582D92

#582D92 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.158 H 298.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#582D92
RGBrgb(88, 45, 146)
HSLhsl(266, 53%, 37%)
HSVhsv(266, 69%, 57%)
CMYKcmyk(39.7%, 69.2%, 0%, 42.7%)
CIE-LABlab(29.48, 41.18, -48.49)
CIE-LCHlch(29.48, 63.62, 310.34°)
OKLaboklab(41.01% 0.0758 -0.1383)
OKLCHoklch(41.01% 0.158 298.7)
XYZxyz(10.1499, 6.0267, 27.8171)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582D92 #67922D
analogous
#2D3492 #582D92 #8B2D92
triadic
#582D92 #92582D #2D9258
tetradic
#582D92 #922D34 #67922D #2D928B
square
#582D92 #922D34 #67922D #2D928B
split-complementary
#582D92 #928B2D #34922D
monochromatic
#201034 #3C1F63 #582D92 #743BC1 #9569D1

Accessibility & contrast

On white

9.52
#582D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#582D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582D92
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582D92#FFFFFF#000000##FFFFFF
##582D921.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#4A455C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582d92;
/* rgb */ color: rgb(88, 45, 146);
/* oklch */ color: oklch(41.0% 0.158 298.7);
Tailwind
colors: {
  custom: {
    50: '#8c69b3',
    500: '#582d92',
    950: '#000000',
  },
}
SCSS
$custom: #582d92;
$custom-light: #8c69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582d92",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 265.545,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41014,
    "c": 0.15769,
    "h": 298.7
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#582D92
secondary
#94B763
accent
#DC4C9F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582D92

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

Preview Lab → · Contrast checker → · Palette generator →

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