#582684#582684

#582684 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.151 H 304.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#582684
RGBrgb(88, 38, 132)
HSLhsl(272, 55%, 33%)
HSVhsv(272, 71%, 52%)
CMYKcmyk(33.3%, 71.2%, 0%, 48.2%)
CIE-LABlab(27.09, 41.15, -43.67)
CIE-LCHlch(27.09, 60.00, 313.29°)
OKLaboklab(38.97% 0.0857 -0.1241)
OKLCHoklch(38.97% 0.151 304.6)
XYZxyz(8.8815, 5.1269, 22.3470)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582684 #528426
analogous
#292684 #582684 #842681
triadic
#582684 #845826 #268458
tetradic
#582684 #842926 #528426 #268184
square
#582684 #842926 #528426 #268184
split-complementary
#582684 #818426 #268429
monochromatic
#190B25 #381854 #582684 #7834B4 #9656CE

Accessibility & contrast

On white

10.37
#582684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#582684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582684
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582684#FFFFFF#000000##FFFFFF
##5826841.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#503B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582684;
/* rgb */ color: rgb(88, 38, 132);
/* oklch */ color: oklch(39.0% 0.151 304.6);
Tailwind
colors: {
  custom: {
    50: '#8b65a8',
    500: '#582684',
    950: '#000000',
  },
}
SCSS
$custom: #582684;
$custom-light: #8b65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582684",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 271.915,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38966,
    "c": 0.1508,
    "h": 304.6
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#582684
secondary
#80B353
accent
#DF498F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582684

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

Preview Lab → · Contrast checker → · Palette generator →

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