#582277#582277

#582277 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.142 H 310.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#582277
RGBrgb(88, 34, 119)
HSLhsl(278, 56%, 30%)
HSVhsv(278, 71%, 47%)
CMYKcmyk(26.1%, 71.4%, 0%, 53.3%)
CIE-LABlab(25.41, 39.93, -38.18)
CIE-LCHlch(25.41, 55.25, 316.29°)
OKLaboklab(37.46% 0.092 -0.1079)
OKLCHoklch(37.46% 0.142 310.4)
XYZxyz(7.9257, 4.5508, 17.9101)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582277 #417722
analogous
#2E2277 #582277 #77226B
triadic
#582277 #775822 #227758
tetradic
#582277 #772E22 #417722 #226B77
square
#582277 #772E22 #417722 #226B77
split-complementary
#582277 #6B7722 #22772E
monochromatic
#120718 #351447 #582277 #7B30A7 #9B49CB

Accessibility & contrast

On white

10.99
#582277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582277
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582277#FFFFFF#000000##FFFFFF
##5822771.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#153D75
Tritanopia (blue-blind)
#54344A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #582277;
/* rgb */ color: rgb(88, 34, 119);
/* oklch */ color: oklch(37.5% 0.142 310.4);
Tailwind
colors: {
  custom: {
    50: '#8a629f',
    500: '#582277',
    950: '#000000',
  },
}
SCSS
$custom: #582277;
$custom-light: #8a629f;
$custom-dark: #000000;
JSON
{
  "hex": "#582277",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 278.118,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.14179,
    "h": 310.4
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#582277
secondary
#6EAA4B
accent
#DF4980
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #582277

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

Preview Lab → · Contrast checker → · Palette generator →

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