#582579#582579

#582579 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.140 H 309.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#582579
RGBrgb(88, 37, 121)
HSLhsl(276, 53%, 31%)
HSVhsv(276, 69%, 47%)
CMYKcmyk(27.3%, 69.4%, 0%, 52.5%)
CIE-LABlab(26.09, 38.92, -38.35)
CIE-LCHlch(26.09, 54.64, 315.42°)
OKLaboklab(37.99% 0.0882 -0.1084)
OKLCHoklch(37.99% 0.14 309.1)
XYZxyz(8.1366, 4.7785, 18.5792)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582579 #467925
analogous
#2E2579 #582579 #792570
triadic
#582579 #795825 #257958
tetradic
#582579 #792E25 #467925 #257079
square
#582579 #792E25 #467925 #257079
split-complementary
#582579 #707925 #25792E
monochromatic
#14081B #36174A #582579 #7A33A8 #994FC9

Accessibility & contrast

On white

10.74
#582579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#582579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582579
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582579#FFFFFF#000000##FFFFFF
##5825791.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#163E77
Tritanopia (blue-blind)
#53374C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582579;
/* rgb */ color: rgb(88, 37, 121);
/* oklch */ color: oklch(38.0% 0.140 309.1);
Tailwind
colors: {
  custom: {
    50: '#8a64a0',
    500: '#582579',
    950: '#000000',
  },
}
SCSS
$custom: #582579;
$custom-light: #8a64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582579",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 276.429,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37991,
    "c": 0.13978,
    "h": 309.1
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#582579
secondary
#73AB4E
accent
#DD4B84
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #582579

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

Preview Lab → · Contrast checker → · Palette generator →

#582579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva