#582177#582177

#582177 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.143 H 310.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#582177
RGBrgb(88, 33, 119)
HSLhsl(278, 57%, 30%)
HSVhsv(278, 72%, 47%)
CMYKcmyk(26.1%, 72.3%, 0%, 53.3%)
CIE-LABlab(25.24, 40.41, -38.45)
CIE-LCHlch(25.24, 55.78, 316.42°)
OKLaboklab(37.34% 0.0932 -0.1087)
OKLCHoklch(37.34% 0.143 310.6)
XYZxyz(7.8975, 4.4945, 17.9007)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582177 #407721
analogous
#2D2177 #582177 #77216B
triadic
#582177 #775821 #217758
tetradic
#582177 #772D21 #407721 #216B77
square
#582177 #772D21 #407721 #216B77
split-complementary
#582177 #6B7721 #21772D
monochromatic
#120718 #351447 #582177 #7B2EA7 #9C47CC

Accessibility & contrast

On white

11.06
#582177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#582177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582177
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582177#FFFFFF#000000##FFFFFF
##5821771.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#143D75
Tritanopia (blue-blind)
#543449
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #582177;
/* rgb */ color: rgb(88, 33, 119);
/* oklch */ color: oklch(37.3% 0.143 310.6);
Tailwind
colors: {
  custom: {
    50: '#8a619f',
    500: '#582177',
    950: '#000000',
  },
}
SCSS
$custom: #582177;
$custom-light: #8a619f;
$custom-dark: #000000;
JSON
{
  "hex": "#582177",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 278.372,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.14317,
    "h": 310.6
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#582177
secondary
#6CAA4A
accent
#E0487F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #582177

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

Preview Lab → · Contrast checker → · Palette generator →

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