#582079#582079

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

Color values

HEX#582079
RGBrgb(88, 32, 121)
HSLhsl(278, 58%, 30%)
HSVhsv(278, 74%, 47%)
CMYKcmyk(27.3%, 73.6%, 0%, 52.5%)
CIE-LABlab(25.22, 41.35, -39.76)
CIE-LCHlch(25.22, 57.37, 316.13°)
OKLaboklab(37.37% 0.094 -0.1125)
OKLCHoklch(37.37% 0.147 309.9)
XYZxyz(7.9915, 4.4884, 18.5308)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582079 #417920
analogous
#2C2079 #582079 #79206D
triadic
#582079 #795820 #207958
tetradic
#582079 #792C20 #417920 #206D79
square
#582079 #792C20 #417920 #206D79
split-complementary
#582079 #6D7920 #20792C
monochromatic
#120618 #351349 #582079 #7B2DA9 #9B45CE

Accessibility & contrast

On white

11.07
#582079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582079
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582079#FFFFFF#000000##FFFFFF
##5820791.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#0F3D77
Tritanopia (blue-blind)
#53344A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #582079;
/* rgb */ color: rgb(88, 32, 121);
/* oklch */ color: oklch(37.4% 0.147 309.9);
Tailwind
colors: {
  custom: {
    50: '#8b61a0',
    500: '#582079',
    950: '#000000',
  },
}
SCSS
$custom: #582079;
$custom-light: #8b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582079",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 277.753,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.14665,
    "h": 309.9
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#582079
secondary
#6EAC49
accent
#E14680
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #582079

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

Preview Lab → · Contrast checker → · Palette generator →

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