#582A75#582A75

#582A75 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.128 H 310.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#582A75
RGBrgb(88, 42, 117)
HSLhsl(277, 47%, 31%)
HSVhsv(277, 64%, 46%)
CMYKcmyk(24.8%, 64.1%, 0%, 54.1%)
CIE-LABlab(26.78, 35.31, -34.71)
CIE-LCHlch(26.78, 49.51, 315.48°)
OKLaboklab(38.4% 0.082 -0.0978)
OKLCHoklch(38.4% 0.128 310)
XYZxyz(8.0627, 5.0151, 17.3695)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A75 #47752A
analogous
#322A75 #582A75 #752A6C
triadic
#582A75 #75582A #2A7558
tetradic
#582A75 #75322A #47752A #2A6C75
square
#582A75 #75322A #47752A #2A6C75
split-complementary
#582A75 #6C752A #2A7532
monochromatic
#140A1B #361A48 #582A75 #7A3AA2 #9957C3

Accessibility & contrast

On white

10.48
#582A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#582A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A75
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A75#FFFFFF#000000##FFFFFF
##582A751.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#214073
Tritanopia (blue-blind)
#54384B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582a75;
/* rgb */ color: rgb(88, 42, 117);
/* oklch */ color: oklch(38.4% 0.128 310.0);
Tailwind
colors: {
  custom: {
    50: '#8a669d',
    500: '#582a75',
    950: '#000000',
  },
}
SCSS
$custom: #582a75;
$custom-light: #8a669d;
$custom-dark: #000000;
JSON
{
  "hex": "#582a75",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 276.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.12763,
    "h": 310
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#582A75
secondary
#74A754
accent
#D75185
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582A75

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

Preview Lab → · Contrast checker → · Palette generator →

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