#582479#582479

#582479 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.141 H 309.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#582479
RGBrgb(88, 36, 121)
HSLhsl(277, 54%, 31%)
HSVhsv(277, 70%, 47%)
CMYKcmyk(27.3%, 70.2%, 0%, 52.5%)
CIE-LABlab(25.91, 39.43, -38.65)
CIE-LCHlch(25.91, 55.21, 315.57°)
OKLaboklab(37.86% 0.0894 -0.1093)
OKLCHoklch(37.86% 0.141 309.3)
XYZxyz(8.1059, 4.7171, 18.5689)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582479 #457924
analogous
#2D2479 #582479 #79246F
triadic
#582479 #795824 #247958
tetradic
#582479 #792D24 #457924 #246F79
square
#582479 #792D24 #457924 #246F79
split-complementary
#582479 #6F7924 #24792D
monochromatic
#13081B #36164A #582479 #7A32A8 #9A4DCA

Accessibility & contrast

On white

10.81
#582479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#582479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582479
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582479#FFFFFF#000000##FFFFFF
##5824791.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#153E77
Tritanopia (blue-blind)
#53364B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #582479;
/* rgb */ color: rgb(88, 36, 121);
/* oklch */ color: oklch(37.9% 0.141 309.3);
Tailwind
colors: {
  custom: {
    50: '#8a63a0',
    500: '#582479',
    950: '#000000',
  },
}
SCSS
$custom: #582479;
$custom-light: #8a63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582479",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 276.706,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37861,
    "c": 0.1412,
    "h": 309.3
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#582479
secondary
#72AC4D
accent
#DE4A83
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #582479

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

Preview Lab → · Contrast checker → · Palette generator →

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