#582196#582196

#582196 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.177 H 299.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#582196
RGBrgb(88, 33, 150)
HSLhsl(268, 64%, 36%)
HSVhsv(268, 78%, 59%)
CMYKcmyk(41.3%, 78%, 0%, 41.2%)
CIE-LABlab(27.75, 48.04, -53.77)
CIE-LCHlch(27.75, 72.10, 311.78°)
OKLaboklab(39.89% 0.0869 -0.1537)
OKLCHoklch(39.89% 0.177 299.5)
XYZxyz(10.0720, 5.3643, 29.3530)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582196 #5F9621
analogous
#212596 #582196 #922196
triadic
#582196 #965821 #219658
tetradic
#582196 #962125 #5F9621 #219692
square
#582196 #962125 #5F9621 #219692
split-complementary
#582196 #969221 #259621
monochromatic
#1D0B32 #3B1664 #582196 #752CC8 #9557DA

Accessibility & contrast

On white

10.13
#582196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582196
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582196#FFFFFF#000000##FFFFFF
##5821961.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582196;
/* rgb */ color: rgb(88, 33, 150);
/* oklch */ color: oklch(39.9% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#8d63b6',
    500: '#582196',
    950: '#000000',
  },
}
SCSS
$custom: #582196;
$custom-light: #8d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582196",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 268.205,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.17657,
    "h": 299.5
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#582196
secondary
#8DBE55
accent
#E74199
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582196

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

Preview Lab → · Contrast checker → · Palette generator →

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