#582996#582996

#582996 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.167 H 298.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#582996
RGBrgb(88, 41, 150)
HSLhsl(266, 57%, 37%)
HSVhsv(266, 73%, 59%)
CMYKcmyk(41.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(29.06, 44.31, -51.63)
CIE-LCHlch(29.06, 68.03, 310.64°)
OKLaboklab(40.82% 0.0793 -0.1475)
OKLCHoklch(40.82% 0.167 298.3)
XYZxyz(10.3211, 5.8624, 29.4360)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582996 #679629
analogous
#293096 #582996 #8F2996
triadic
#582996 #965829 #299658
tetradic
#582996 #962930 #679629 #29968F
square
#582996 #962930 #679629 #29968F
split-complementary
#582996 #968F29 #309629
monochromatic
#200F36 #3C1C66 #582996 #7436C6 #9565D5

Accessibility & contrast

On white

9.67
#582996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582996
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582996#FFFFFF#000000##FFFFFF
##5829961.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#49445D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582996;
/* rgb */ color: rgb(88, 41, 150);
/* oklch */ color: oklch(40.8% 0.167 298.3);
Tailwind
colors: {
  custom: {
    50: '#8d67b6',
    500: '#582996',
    950: '#000000',
  },
}
SCSS
$custom: #582996;
$custom-light: #8d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582996",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 265.872,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.16746,
    "h": 298.3
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#582996
secondary
#94BB60
accent
#E0479E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582996

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

Preview Lab → · Contrast checker → · Palette generator →

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