#582E97#582E97

#582E97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.162 H 297.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#582E97
RGBrgb(88, 46, 151)
HSLhsl(264, 53%, 39%)
HSVhsv(264, 70%, 59%)
CMYKcmyk(41.7%, 69.5%, 0%, 40.8%)
CIE-LABlab(30.07, 42.00, -50.61)
CIE-LCHlch(30.07, 65.77, 309.69°)
OKLaboklab(41.56% 0.0739 -0.1445)
OKLCHoklch(41.56% 0.162 297.1)
XYZxyz(10.5860, 6.2629, 29.9233)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E97 #6D972E
analogous
#2E3897 #582E97 #8C2E97
triadic
#582E97 #97582E #2E9758
tetradic
#582E97 #972E38 #6D972E #2E978C
square
#582E97 #972E38 #6D972E #2E978C
split-complementary
#582E97 #978C2E #38972E
monochromatic
#211139 #3D2068 #582E97 #743EC4 #966DD2

Accessibility & contrast

On white

9.32
#582E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#582E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E97
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E97#FFFFFF#000000##FFFFFF
##582E971.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582e97;
/* rgb */ color: rgb(88, 46, 151);
/* oklch */ color: oklch(41.6% 0.162 297.1);
Tailwind
colors: {
  custom: {
    50: '#8d6ab6',
    500: '#582e97',
    950: '#000000',
  },
}
SCSS
$custom: #582e97;
$custom-light: #8d6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#582e97",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 264,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.16232,
    "h": 297.1
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#582E97
secondary
#99BA67
accent
#DD4BA2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #582E97

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

Preview Lab → · Contrast checker → · Palette generator →

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