#582097#582097

#582097 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.179 H 299.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#582097
RGBrgb(88, 32, 151)
HSLhsl(268, 65%, 36%)
HSVhsv(268, 79%, 59%)
CMYKcmyk(41.7%, 78.8%, 0%, 40.8%)
CIE-LABlab(27.69, 48.72, -54.48)
CIE-LCHlch(27.69, 73.09, 311.80°)
OKLaboklab(39.88% 0.0874 -0.1558)
OKLCHoklch(39.88% 0.179 299.3)
XYZxyz(10.1255, 5.3420, 29.7698)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582097 #5F9720
analogous
#202497 #582097 #932097
triadic
#582097 #975820 #209758
tetradic
#582097 #972024 #5F9720 #209793
square
#582097 #972024 #5F9720 #209793
split-complementary
#582097 #979320 #249720
monochromatic
#1D0B32 #3B1564 #582097 #752BC9 #9556DB

Accessibility & contrast

On white

10.15
#582097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582097
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582097#FFFFFF#000000##FFFFFF
##5820971.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#49405B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582097;
/* rgb */ color: rgb(88, 32, 151);
/* oklch */ color: oklch(39.9% 0.179 299.3);
Tailwind
colors: {
  custom: {
    50: '#8e62b7',
    500: '#582097',
    950: '#000000',
  },
}
SCSS
$custom: #582097;
$custom-light: #8e62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#582097",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 268.235,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.17868,
    "h": 299.3
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#582097
secondary
#8DBF54
accent
#E84099
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582097

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

Preview Lab → · Contrast checker → · Palette generator →

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