#582096#582096

#582096 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.178 H 299.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#582096
RGBrgb(88, 32, 150)
HSLhsl(268, 65%, 36%)
HSVhsv(268, 79%, 59%)
CMYKcmyk(41.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(27.60, 48.47, -54.02)
CIE-LCHlch(27.60, 72.57, 311.90°)
OKLaboklab(39.79% 0.0877 -0.1544)
OKLCHoklch(39.79% 0.178 299.6)
XYZxyz(10.0446, 5.3096, 29.3439)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582096 #5E9620
analogous
#202396 #582096 #932096
triadic
#582096 #965820 #209658
tetradic
#582096 #962023 #5E9620 #209693
square
#582096 #962023 #5E9620 #209693
split-complementary
#582096 #969320 #239620
monochromatic
#1D0A31 #3A1564 #582096 #762BC8 #9556DB

Accessibility & contrast

On white

10.18
#582096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#582096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582096
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582096#FFFFFF#000000##FFFFFF
##5820961.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#49405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582096;
/* rgb */ color: rgb(88, 32, 150);
/* oklch */ color: oklch(39.8% 0.178 299.6);
Tailwind
colors: {
  custom: {
    50: '#8d62b6',
    500: '#582096',
    950: '#000000',
  },
}
SCSS
$custom: #582096;
$custom-light: #8d62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582096",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 268.475,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.17761,
    "h": 299.6
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#582096
secondary
#8CBE53
accent
#E84098
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582096

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

Preview Lab → · Contrast checker → · Palette generator →

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