#582080#582080

#582080 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.154 H 307.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#582080
RGBrgb(88, 32, 128)
HSLhsl(275, 60%, 31%)
HSVhsv(275, 75%, 50%)
CMYKcmyk(31.3%, 75%, 0%, 49.8%)
CIE-LABlab(25.76, 43.03, -43.32)
CIE-LCHlch(25.76, 61.06, 314.81°)
OKLaboklab(37.92% 0.0929 -0.123)
OKLCHoklch(37.92% 0.154 307.1)
XYZxyz(8.4365, 4.6663, 20.8741)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582080 #488020
analogous
#282080 #582080 #802078
triadic
#582080 #805820 #208058
tetradic
#582080 #802820 #488020 #207880
square
#582080 #802820 #488020 #207880
split-complementary
#582080 #788020 #208028
monochromatic
#15081E #36144F #582080 #7A2CB1 #9949D1

Accessibility & contrast

On white

10.86
#582080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#582080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582080
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582080#FFFFFF#000000##FFFFFF
##5820801.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#51374E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #582080;
/* rgb */ color: rgb(88, 32, 128);
/* oklch */ color: oklch(37.9% 0.154 307.1);
Tailwind
colors: {
  custom: {
    50: '#8b61a6',
    500: '#582080',
    950: '#000000',
  },
}
SCSS
$custom: #582080;
$custom-light: #8b61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#582080",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 275,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.15413,
    "h": 307.1
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#582080
secondary
#75B349
accent
#E34587
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #582080

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

Preview Lab → · Contrast checker → · Palette generator →

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