#582986#582986

#582986 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.149 H 303.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#582986
RGBrgb(88, 41, 134)
HSLhsl(270, 53%, 34%)
HSVhsv(270, 69%, 53%)
CMYKcmyk(34.3%, 69.4%, 0%, 47.5%)
CIE-LABlab(27.80, 40.13, -43.79)
CIE-LCHlch(27.80, 59.39, 312.50°)
OKLaboklab(39.52% 0.082 -0.1244)
OKLCHoklch(39.52% 0.149 303.4)
XYZxyz(9.1195, 5.3818, 23.1080)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582986 #578629
analogous
#2A2986 #582986 #862986
triadic
#582986 #865829 #298658
tetradic
#582986 #862A29 #578629 #298686
square
#582986 #862A29 #578629 #298686
split-complementary
#582986 #868629 #29862A
monochromatic
#1A0C28 #391B57 #582986 #7737B5 #955CCD

Accessibility & contrast

On white

10.11
#582986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582986
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582986#FFFFFF#000000##FFFFFF
##5829861.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#024184
Tritanopia (blue-blind)
#4F3E54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582986;
/* rgb */ color: rgb(88, 41, 134);
/* oklch */ color: oklch(39.5% 0.149 303.4);
Tailwind
colors: {
  custom: {
    50: '#8b66aa',
    500: '#582986',
    950: '#000000',
  },
}
SCSS
$custom: #582986;
$custom-light: #8b66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582986",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 270.323,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.14901,
    "h": 303.4
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#582986
secondary
#85B358
accent
#DD4B93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582986

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

Preview Lab → · Contrast checker → · Palette generator →

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