#582279#582279

#582279 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.144 H 309.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#582279
RGBrgb(88, 34, 121)
HSLhsl(277, 56%, 30%)
HSVhsv(277, 72%, 47%)
CMYKcmyk(27.3%, 71.9%, 0%, 52.5%)
CIE-LABlab(25.56, 40.41, -39.21)
CIE-LCHlch(25.56, 56.31, 315.86°)
OKLaboklab(37.61% 0.0918 -0.111)
OKLCHoklch(37.61% 0.144 309.6)
XYZxyz(8.0470, 4.5994, 18.5493)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582279 #437922
analogous
#2C2279 #582279 #79226E
triadic
#582279 #795822 #227958
tetradic
#582279 #792C22 #437922 #226E79
square
#582279 #792C22 #437922 #226E79
split-complementary
#582279 #6E7922 #22792C
monochromatic
#130719 #351549 #582279 #7B2FA9 #9A49CC

Accessibility & contrast

On white

10.94
#582279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#582279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582279
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582279#FFFFFF#000000##FFFFFF
##5822791.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#53354B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #582279;
/* rgb */ color: rgb(88, 34, 121);
/* oklch */ color: oklch(37.6% 0.144 309.6);
Tailwind
colors: {
  custom: {
    50: '#8b62a0',
    500: '#582279',
    950: '#000000',
  },
}
SCSS
$custom: #582279;
$custom-light: #8b62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582279",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 277.241,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.14398,
    "h": 309.6
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#582279
secondary
#70AC4B
accent
#DF4882
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #582279

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

Preview Lab → · Contrast checker → · Palette generator →

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