#582497#582497

#582497 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.174 H 298.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#582497
RGBrgb(88, 36, 151)
HSLhsl(267, 61%, 37%)
HSVhsv(267, 76%, 59%)
CMYKcmyk(41.7%, 76.2%, 0%, 40.8%)
CIE-LABlab(28.30, 46.96, -53.48)
CIE-LCHlch(28.30, 71.17, 311.28°)
OKLaboklab(40.31% 0.0839 -0.1529)
OKLCHoklch(40.31% 0.174 298.8)
XYZxyz(10.2399, 5.5707, 29.8079)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582497 #639724
analogous
#242A97 #582497 #922497
triadic
#582497 #975824 #249758
tetradic
#582497 #97242A #639724 #249792
square
#582497 #97242A #639724 #249792
split-complementary
#582497 #979224 #2A9724
monochromatic
#1E0C34 #3B1866 #582497 #7530C8 #955DD8

Accessibility & contrast

On white

9.93
#582497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#582497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582497
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582497#FFFFFF#000000##FFFFFF
##5824971.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#49425C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582497;
/* rgb */ color: rgb(88, 36, 151);
/* oklch */ color: oklch(40.3% 0.174 298.8);
Tailwind
colors: {
  custom: {
    50: '#8d64b6',
    500: '#582497',
    950: '#000000',
  },
}
SCSS
$custom: #582497;
$custom-light: #8d64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582497",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 267.13,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.17442,
    "h": 298.8
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#582497
secondary
#90BD5A
accent
#E5439C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582497

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

Preview Lab → · Contrast checker → · Palette generator →

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