#582A85#582A85

#582A85 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.146 H 303.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#582A85
RGBrgb(88, 42, 133)
HSLhsl(270, 52%, 34%)
HSVhsv(270, 68%, 52%)
CMYKcmyk(33.8%, 68.4%, 0%, 47.8%)
CIE-LABlab(27.91, 39.34, -42.98)
CIE-LCHlch(27.91, 58.27, 312.47°)
OKLaboklab(39.57% 0.0809 -0.1221)
OKLCHoklch(39.57% 0.146 303.5)
XYZxyz(9.0851, 5.4241, 22.7541)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A85 #57852A
analogous
#2B2A85 #582A85 #852A85
triadic
#582A85 #85582A #2A8558
tetradic
#582A85 #852B2A #57852A #2A8585
square
#582A85 #852B2A #57852A #2A8585
split-complementary
#582A85 #85852A #2A852B
monochromatic
#1A0D28 #391B56 #582A85 #7739B4 #955DCC

Accessibility & contrast

On white

10.07
#582A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A85
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A85#FFFFFF#000000##FFFFFF
##582A851.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#084283
Tritanopia (blue-blind)
#4F3E54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582a85;
/* rgb */ color: rgb(88, 42, 133);
/* oklch */ color: oklch(39.6% 0.146 303.5);
Tailwind
colors: {
  custom: {
    50: '#8b67a9',
    500: '#582a85',
    950: '#000000',
  },
}
SCSS
$custom: #582a85;
$custom-light: #8b67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582a85",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 270.33,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.14645,
    "h": 303.5
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#582A85
secondary
#85B259
accent
#DB4C93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A85

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

Preview Lab → · Contrast checker → · Palette generator →

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