#582184#582184

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

Color values

HEX#582184
RGBrgb(88, 33, 132)
HSLhsl(273, 60%, 32%)
HSVhsv(273, 75%, 52%)
CMYKcmyk(33.3%, 75%, 0%, 48.2%)
CIE-LABlab(26.24, 43.54, -45.06)
CIE-LCHlch(26.24, 62.66, 314.02°)
OKLaboklab(38.36% 0.0911 -0.1281)
OKLCHoklch(38.36% 0.157 305.4)
XYZxyz(8.7323, 4.8284, 22.2973)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582184 #4D8421
analogous
#262184 #582184 #84217F
triadic
#582184 #845821 #218458
tetradic
#582184 #842621 #4D8421 #217F84
square
#582184 #842621 #4D8421 #217F84
split-complementary
#582184 #7F8421 #218426
monochromatic
#170922 #371553 #582184 #792DB5 #974DD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582184#FFFFFF#000000##FFFFFF
##5821841.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)
#003D87
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#503950
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582184;
/* rgb */ color: rgb(88, 33, 132);
/* oklch */ color: oklch(38.4% 0.157 305.4);
Tailwind
colors: {
  custom: {
    50: '#8c62a8',
    500: '#582184',
    950: '#000000',
  },
}
SCSS
$custom: #582184;
$custom-light: #8c62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582184",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 273.333,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.1572,
    "h": 305.4
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#582184
secondary
#7AB64B
accent
#E3458B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582184

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

Preview Lab → · Contrast checker → · Palette generator →

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