#582779#582779

#582779 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.137 H 308.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#582779
RGBrgb(88, 39, 121)
HSLhsl(276, 51%, 31%)
HSVhsv(276, 68%, 47%)
CMYKcmyk(27.3%, 67.8%, 0%, 52.5%)
CIE-LABlab(26.47, 37.89, -37.76)
CIE-LCHlch(26.47, 53.49, 315.10°)
OKLaboklab(38.26% 0.0857 -0.1067)
OKLCHoklch(38.26% 0.137 308.8)
XYZxyz(8.2005, 4.9064, 18.6005)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582779 #487927
analogous
#2F2779 #582779 #792771
triadic
#582779 #795827 #277958
tetradic
#582779 #792F27 #487927 #277179
square
#582779 #792F27 #487927 #277179
split-complementary
#582779 #717927 #27792F
monochromatic
#15091C #36184B #582779 #7A36A7 #9953C8

Accessibility & contrast

On white

10.60
#582779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582779
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582779#FFFFFF#000000##FFFFFF
##5827791.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#193F77
Tritanopia (blue-blind)
#53384C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582779;
/* rgb */ color: rgb(88, 39, 121);
/* oklch */ color: oklch(38.3% 0.137 308.8);
Tailwind
colors: {
  custom: {
    50: '#8a65a0',
    500: '#582779',
    950: '#000000',
  },
}
SCSS
$custom: #582779;
$custom-light: #8a65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582779",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 275.854,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38259,
    "c": 0.13687,
    "h": 308.8
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#582779
secondary
#75AB51
accent
#DB4D86
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #582779

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

Preview Lab → · Contrast checker → · Palette generator →

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