#582397#582397

#582397 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.176 H 298.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#582397
RGBrgb(88, 35, 151)
HSLhsl(267, 62%, 36%)
HSVhsv(267, 77%, 59%)
CMYKcmyk(41.7%, 76.8%, 0%, 40.8%)
CIE-LABlab(28.14, 47.41, -53.74)
CIE-LCHlch(28.14, 71.66, 311.42°)
OKLaboklab(40.2% 0.0848 -0.1536)
OKLCHoklch(40.2% 0.176 298.9)
XYZxyz(10.2100, 5.5110, 29.7980)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582397 #629723
analogous
#232897 #582397 #922397
triadic
#582397 #975823 #239758
tetradic
#582397 #972328 #629723 #239792
square
#582397 #972328 #629723 #239792
split-complementary
#582397 #979223 #289723
monochromatic
#1E0C34 #3B1765 #582397 #752FC9 #955BD9

Accessibility & contrast

On white

9.99
#582397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#582397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582397
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582397#FFFFFF#000000##FFFFFF
##5823971.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#49425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582397;
/* rgb */ color: rgb(88, 35, 151);
/* oklch */ color: oklch(40.2% 0.176 298.9);
Tailwind
colors: {
  custom: {
    50: '#8d64b7',
    500: '#582397',
    950: '#000000',
  },
}
SCSS
$custom: #582397;
$custom-light: #8d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#582397",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 267.414,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.17551,
    "h": 298.9
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#582397
secondary
#8FBE58
accent
#E5429B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582397

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

Preview Lab → · Contrast checker → · Palette generator →

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