#582276#582276

#582276 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.141 H 310.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#582276
RGBrgb(88, 34, 118)
HSLhsl(279, 55%, 30%)
HSVhsv(279, 71%, 46%)
CMYKcmyk(25.4%, 71.2%, 0%, 53.7%)
CIE-LABlab(25.34, 39.69, -37.66)
CIE-LCHlch(25.34, 54.71, 316.51°)
OKLaboklab(37.38% 0.0921 -0.1064)
OKLCHoklch(37.38% 0.141 310.9)
XYZxyz(7.8659, 4.5269, 17.5954)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582276 #407622
analogous
#2E2276 #582276 #76226A
triadic
#582276 #765822 #227658
tetradic
#582276 #762E22 #407622 #226A76
square
#582276 #762E22 #407622 #226A76
split-complementary
#582276 #6A7622 #22762E
monochromatic
#120718 #351446 #582276 #7B30A6 #9C48CA

Accessibility & contrast

On white

11.02
#582276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#582276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582276
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582276#FFFFFF#000000##FFFFFF
##5822761.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#173D74
Tritanopia (blue-blind)
#543449
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #582276;
/* rgb */ color: rgb(88, 34, 118);
/* oklch */ color: oklch(37.4% 0.141 310.9);
Tailwind
colors: {
  custom: {
    50: '#8a629e',
    500: '#582276',
    950: '#000000',
  },
}
SCSS
$custom: #582276;
$custom-light: #8a629e;
$custom-dark: #000000;
JSON
{
  "hex": "#582276",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 278.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37383,
    "c": 0.14071,
    "h": 310.9
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#582276
secondary
#6CA94B
accent
#DF497F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #582276

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

Preview Lab → · Contrast checker → · Palette generator →

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