#582496#582496

#582496 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.173 H 299.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#582496
RGBrgb(88, 36, 150)
HSLhsl(267, 61%, 36%)
HSVhsv(267, 76%, 59%)
CMYKcmyk(41.3%, 76%, 0%, 41.2%)
CIE-LABlab(28.22, 46.70, -53.01)
CIE-LCHlch(28.22, 70.64, 311.38°)
OKLaboklab(40.22% 0.0842 -0.1515)
OKLCHoklch(40.22% 0.173 299.1)
XYZxyz(10.1590, 5.5383, 29.3820)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582496 #629624
analogous
#242996 #582496 #912496
triadic
#582496 #965824 #249658
tetradic
#582496 #962429 #629624 #249691
square
#582496 #962429 #629624 #249691
split-complementary
#582496 #969124 #299624
monochromatic
#1E0C33 #3B1865 #582496 #7530C7 #955CD8

Accessibility & contrast

On white

9.96
#582496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#582496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582496
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582496#FFFFFF#000000##FFFFFF
##5824961.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582496;
/* rgb */ color: rgb(88, 36, 150);
/* oklch */ color: oklch(40.2% 0.173 299.1);
Tailwind
colors: {
  custom: {
    50: '#8d64b6',
    500: '#582496',
    950: '#000000',
  },
}
SCSS
$custom: #582496;
$custom-light: #8d64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582496",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 267.368,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.17332,
    "h": 299.1
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#582496
secondary
#8FBD59
accent
#E4439B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582496

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

Preview Lab → · Contrast checker → · Palette generator →

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