#582A9C#582A9C

#582A9C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.173 H 296.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#582A9C
RGBrgb(88, 42, 156)
HSLhsl(264, 58%, 39%)
HSVhsv(264, 73%, 61%)
CMYKcmyk(43.6%, 73.1%, 0%, 38.8%)
CIE-LABlab(29.74, 45.41, -54.19)
CIE-LCHlch(29.74, 70.70, 309.96°)
OKLaboklab(41.45% 0.0771 -0.155)
OKLCHoklch(41.45% 0.173 296.4)
XYZxyz(10.8516, 6.1307, 32.0576)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A9C #6E9C2A
analogous
#2A359C #582A9C #912A9C
triadic
#582A9C #9C582A #2A9C58
tetradic
#582A9C #9C2A35 #6E9C2A #2A9C91
square
#582A9C #9C2A35 #6E9C2A #2A9C91
split-complementary
#582A9C #9C912A #359C2A
monochromatic
#22103C #3D1D6C #582A9C #7439CA #966AD7

Accessibility & contrast

On white

9.43
#582A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#582A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A9C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A9C#FFFFFF#000000##FFFFFF
##582A9C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#464760
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582a9c;
/* rgb */ color: rgb(88, 42, 156);
/* oklch */ color: oklch(41.5% 0.173 296.4);
Tailwind
colors: {
  custom: {
    50: '#8d68ba',
    500: '#582a9c',
    950: '#000000',
  },
}
SCSS
$custom: #582a9c;
$custom-light: #8d68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#582a9c",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 264.211,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.17313,
    "h": 296.4
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#582A9C
secondary
#99BD65
accent
#E147A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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