#582597#582597

#582597 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.173 H 298.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#582597
RGBrgb(88, 37, 151)
HSLhsl(267, 61%, 37%)
HSVhsv(267, 75%, 59%)
CMYKcmyk(41.7%, 75.5%, 0%, 40.8%)
CIE-LABlab(28.46, 46.49, -53.22)
CIE-LCHlch(28.46, 70.67, 311.14°)
OKLaboklab(40.42% 0.083 -0.1521)
OKLCHoklch(40.42% 0.173 298.6)
XYZxyz(10.2706, 5.6321, 29.8181)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582597 #649725
analogous
#252B97 #582597 #912597
triadic
#582597 #975825 #259758
tetradic
#582597 #97252B #649725 #259791
square
#582597 #97252B #649725 #259791
split-complementary
#582597 #979125 #2B9725
monochromatic
#1F0D35 #3B1966 #582597 #7531C8 #955FD8

Accessibility & contrast

On white

9.88
#582597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582597
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582597#FFFFFF#000000##FFFFFF
##5825971.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.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: #582597;
/* rgb */ color: rgb(88, 37, 151);
/* oklch */ color: oklch(40.4% 0.173 298.6);
Tailwind
colors: {
  custom: {
    50: '#8d65b6',
    500: '#582597',
    950: '#000000',
  },
}
SCSS
$custom: #582597;
$custom-light: #8d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582597",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 266.842,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.17329,
    "h": 298.6
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#582597
secondary
#91BD5B
accent
#E4449C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582597

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

Preview Lab → · Contrast checker → · Palette generator →

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