#582280#582280

#582280 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.152 H 306.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#582280
RGBrgb(88, 34, 128)
HSLhsl(274, 58%, 32%)
HSVhsv(274, 73%, 50%)
CMYKcmyk(31.3%, 73.4%, 0%, 49.8%)
CIE-LABlab(26.09, 42.10, -42.79)
CIE-LCHlch(26.09, 60.02, 314.54°)
OKLaboklab(38.15% 0.0907 -0.1214)
OKLCHoklch(38.15% 0.152 306.8)
XYZxyz(8.4920, 4.7774, 20.8926)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582280 #4A8022
analogous
#292280 #582280 #802279
triadic
#582280 #805822 #228058
tetradic
#582280 #802922 #4A8022 #227980
square
#582280 #802922 #4A8022 #227980
split-complementary
#582280 #798022 #228029
monochromatic
#16081F #371550 #582280 #792FB0 #984DD0

Accessibility & contrast

On white

10.74
#582280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#582280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582280
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582280#FFFFFF#000000##FFFFFF
##5822801.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#013E7E
Tritanopia (blue-blind)
#51384E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582280;
/* rgb */ color: rgb(88, 34, 128);
/* oklch */ color: oklch(38.2% 0.152 306.8);
Tailwind
colors: {
  custom: {
    50: '#8b62a5',
    500: '#582280',
    950: '#000000',
  },
}
SCSS
$custom: #582280;
$custom-light: #8b62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#582280",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 274.468,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.1516,
    "h": 306.8
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#582280
secondary
#77B24B
accent
#E14788
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #582280

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

Preview Lab → · Contrast checker → · Palette generator →

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