#582997#582997

#582997 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.169 H 298.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#582997
RGBrgb(88, 41, 151)
HSLhsl(266, 57%, 38%)
HSVhsv(266, 73%, 59%)
CMYKcmyk(41.7%, 72.8%, 0%, 40.8%)
CIE-LABlab(29.15, 44.57, -52.10)
CIE-LCHlch(29.15, 68.57, 310.54°)
OKLaboklab(40.9% 0.0791 -0.1489)
OKLCHoklch(40.9% 0.169 298)
XYZxyz(10.4019, 5.8948, 29.8619)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582997 #689729
analogous
#293197 #582997 #8F2997
triadic
#582997 #975829 #299758
tetradic
#582997 #972931 #689729 #29978F
square
#582997 #972931 #689729 #29978F
split-complementary
#582997 #978F29 #319729
monochromatic
#200F37 #3C1C67 #582997 #7436C7 #9565D5

Accessibility & contrast

On white

9.64
#582997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#582997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582997
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582997#FFFFFF#000000##FFFFFF
##5829971.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#48455D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582997;
/* rgb */ color: rgb(88, 41, 151);
/* oklch */ color: oklch(40.9% 0.169 298.0);
Tailwind
colors: {
  custom: {
    50: '#8d67b6',
    500: '#582997',
    950: '#000000',
  },
}
SCSS
$custom: #582997;
$custom-light: #8d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582997",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 265.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.16861,
    "h": 298
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#582997
secondary
#94BB61
accent
#E1479F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582997

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

Preview Lab → · Contrast checker → · Palette generator →

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