#582596#582596

#582596 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.172 H 298.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#582596
RGBrgb(88, 37, 150)
HSLhsl(267, 60%, 37%)
HSVhsv(267, 75%, 59%)
CMYKcmyk(41.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(28.38, 46.24, -52.74)
CIE-LCHlch(28.38, 70.14, 311.24°)
OKLaboklab(40.33% 0.0832 -0.1507)
OKLCHoklch(40.33% 0.172 298.9)
XYZxyz(10.1897, 5.5997, 29.3923)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582596 #639625
analogous
#252A96 #582596 #912596
triadic
#582596 #965825 #259658
tetradic
#582596 #96252A #639625 #259691
square
#582596 #96252A #639625 #259691
split-complementary
#582596 #969125 #2A9625
monochromatic
#1E0D34 #3B1965 #582596 #7531C7 #955ED7

Accessibility & contrast

On white

9.91
#582596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#582596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582596
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582596#FFFFFF#000000##FFFFFF
##5825961.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#49425C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582596;
/* rgb */ color: rgb(88, 37, 150);
/* oklch */ color: oklch(40.3% 0.172 298.9);
Tailwind
colors: {
  custom: {
    50: '#8d65b6',
    500: '#582596',
    950: '#000000',
  },
}
SCSS
$custom: #582596;
$custom-light: #8d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582596",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 267.08,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.17218,
    "h": 298.9
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#582596
secondary
#90BC5B
accent
#E4449C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582596

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

Preview Lab → · Contrast checker → · Palette generator →

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