#582F97#582F97

#582F97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.161 H 296.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#582F97
RGBrgb(88, 47, 151)
HSLhsl(264, 53%, 39%)
HSVhsv(264, 69%, 59%)
CMYKcmyk(41.7%, 68.9%, 0%, 40.8%)
CIE-LABlab(30.26, 41.47, -50.29)
CIE-LCHlch(30.26, 65.19, 309.51°)
OKLaboklab(41.7% 0.0729 -0.1436)
OKLCHoklch(41.7% 0.161 296.9)
XYZxyz(10.6255, 6.3419, 29.9364)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582F97 #6E972F
analogous
#2F3A97 #582F97 #8C2F97
triadic
#582F97 #97582F #2F9758
tetradic
#582F97 #972F3A #6E972F #2F978C
square
#582F97 #972F3A #6E972F #2F978C
split-complementary
#582F97 #978C2F #3A972F
monochromatic
#22123A #3D2068 #582F97 #7440C3 #966ED2

Accessibility & contrast

On white

9.26
#582F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#582F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582F97
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582F97#FFFFFF#000000##FFFFFF
##582F971.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#48485F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582f97;
/* rgb */ color: rgb(88, 47, 151);
/* oklch */ color: oklch(41.7% 0.161 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d6ab6',
    500: '#582f97',
    950: '#000000',
  },
}
SCSS
$custom: #582f97;
$custom-light: #8d6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#582f97",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 263.654,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.16101,
    "h": 296.9
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#582F97
secondary
#99B968
accent
#DC4CA3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #582F97

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

Preview Lab → · Contrast checker → · Palette generator →

#582F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva