#582B7A#582B7A

#582B7A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.132 H 307.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#582B7A
RGBrgb(88, 43, 122)
HSLhsl(274, 48%, 32%)
HSVhsv(274, 65%, 48%)
CMYKcmyk(27.9%, 64.8%, 0%, 52.2%)
CIE-LABlab(27.32, 36.00, -37.02)
CIE-LCHlch(27.32, 51.64, 314.20°)
OKLaboklab(38.9% 0.0805 -0.1046)
OKLCHoklch(38.9% 0.132 307.6)
XYZxyz(8.4005, 5.2077, 18.9712)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B7A #4D7A2B
analogous
#302B7A #582B7A #7A2B75
triadic
#582B7A #7A582B #2B7A58
tetradic
#582B7A #7A302B #4D7A2B #2B757A
square
#582B7A #7A302B #4D7A2B #2B757A
split-complementary
#582B7A #757A2B #2B7A30
monochromatic
#170B1F #371B4D #582B7A #793BA7 #975AC5

Accessibility & contrast

On white

10.29
#582B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#582B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B7A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B7A#FFFFFF#000000##FFFFFF
##582B7A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7C
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#533B4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582b7a;
/* rgb */ color: rgb(88, 43, 122);
/* oklch */ color: oklch(38.9% 0.132 307.6);
Tailwind
colors: {
  custom: {
    50: '#8a67a1',
    500: '#582b7a',
    950: '#000000',
  },
}
SCSS
$custom: #582b7a;
$custom-light: #8a67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#582b7a",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 274.177,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.13198,
    "h": 307.6
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#582B7A
secondary
#7AAB56
accent
#D7508A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #582B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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