#582186#582186

#582186 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.159 H 304.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#582186
RGBrgb(88, 33, 134)
HSLhsl(273, 60%, 33%)
HSVhsv(273, 75%, 53%)
CMYKcmyk(34.3%, 75.4%, 0%, 47.5%)
CIE-LABlab(26.40, 44.04, -46.05)
CIE-LCHlch(26.40, 63.72, 313.72°)
OKLaboklab(38.52% 0.0907 -0.131)
OKLCHoklch(38.52% 0.159 304.7)
XYZxyz(8.8705, 4.8837, 23.0250)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582186 #4F8621
analogous
#252186 #582186 #862182
triadic
#582186 #865821 #218658
tetradic
#582186 #862521 #4F8621 #218286
square
#582186 #862521 #4F8621 #218286
split-complementary
#582186 #828621 #218625
monochromatic
#180924 #381555 #582186 #782DB7 #974ED3

Accessibility & contrast

On white

10.62
#582186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582186
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582186#FFFFFF#000000##FFFFFF
##5821861.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#4F3A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582186;
/* rgb */ color: rgb(88, 33, 134);
/* oklch */ color: oklch(38.5% 0.159 304.7);
Tailwind
colors: {
  custom: {
    50: '#8c62aa',
    500: '#582186',
    950: '#000000',
  },
}
SCSS
$custom: #582186;
$custom-light: #8c62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582186",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 272.673,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38523,
    "c": 0.15936,
    "h": 304.7
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#582186
secondary
#7DB74C
accent
#E4448D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582186

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

Preview Lab → · Contrast checker → · Palette generator →

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