#582292#582292

#582292 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.171 H 300.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#582292
RGBrgb(88, 34, 146)
HSLhsl(269, 62%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(39.7%, 76.7%, 0%, 42.7%)
CIE-LABlab(27.56, 46.58, -51.62)
CIE-LCHlch(27.56, 69.53, 312.06°)
OKLaboklab(39.65% 0.087 -0.1474)
OKLCHoklch(39.65% 0.171 300.5)
XYZxyz(9.7836, 5.2940, 27.6950)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582292 #5C9222
analogous
#222492 #582292 #902292
triadic
#582292 #925822 #229258
tetradic
#582292 #922224 #5C9222 #229290
square
#582292 #922224 #5C9222 #229290
split-complementary
#582292 #929022 #249222
monochromatic
#1C0B2F #3A1660 #582292 #762EC4 #9557D8

Accessibility & contrast

On white

10.20
#582292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582292
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582292#FFFFFF#000000##FFFFFF
##5822921.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#4B3F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582292;
/* rgb */ color: rgb(88, 34, 146);
/* oklch */ color: oklch(39.6% 0.171 300.5);
Tailwind
colors: {
  custom: {
    50: '#8d63b3',
    500: '#582292',
    950: '#000000',
  },
}
SCSS
$custom: #582292;
$custom-light: #8d63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582292",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 268.929,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.17118,
    "h": 300.5
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#582292
secondary
#8ABC54
accent
#E54397
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582292

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

Preview Lab → · Contrast checker → · Palette generator →

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