#582282#582282

#582282 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.154 H 306.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#582282
RGBrgb(88, 34, 130)
HSLhsl(274, 59%, 32%)
HSVhsv(274, 74%, 51%)
CMYKcmyk(32.3%, 73.8%, 0%, 49%)
CIE-LABlab(26.25, 42.59, -43.79)
CIE-LCHlch(26.25, 61.09, 314.20°)
OKLaboklab(38.31% 0.0904 -0.1244)
OKLCHoklch(38.31% 0.154 306)
XYZxyz(8.6249, 4.8305, 21.5928)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582282 #4C8222
analogous
#282282 #582282 #82227C
triadic
#582282 #825822 #228258
tetradic
#582282 #822822 #4C8222 #227C82
square
#582282 #822822 #4C8222 #227C82
split-complementary
#582282 #7C8222 #228228
monochromatic
#160921 #371551 #582282 #792FB3 #974ED1

Accessibility & contrast

On white

10.68
#582282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#582282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582282
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582282#FFFFFF#000000##FFFFFF
##5822821.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#513850
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582282;
/* rgb */ color: rgb(88, 34, 130);
/* oklch */ color: oklch(38.3% 0.154 306.0);
Tailwind
colors: {
  custom: {
    50: '#8b62a7',
    500: '#582282',
    950: '#000000',
  },
}
SCSS
$custom: #582282;
$custom-light: #8b62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#582282",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 273.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.15379,
    "h": 306
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#582282
secondary
#79B44C
accent
#E2468A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #582282

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

Preview Lab → · Contrast checker → · Palette generator →

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