#582399#582399

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

Color values

HEX#582399
RGBrgb(88, 35, 153)
HSLhsl(267, 63%, 37%)
HSVhsv(267, 77%, 60%)
CMYKcmyk(42.5%, 77.1%, 0%, 40%)
CIE-LABlab(28.32, 47.92, -54.68)
CIE-LCHlch(28.32, 72.71, 311.23°)
OKLaboklab(40.37% 0.0843 -0.1564)
OKLCHoklch(40.37% 0.178 298.3)
XYZxyz(10.3738, 5.5765, 30.6606)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582399 #649923
analogous
#232999 #582399 #932399
triadic
#582399 #995823 #239958
tetradic
#582399 #992329 #649923 #239993
square
#582399 #992329 #649923 #239993
split-complementary
#582399 #999323 #299923
monochromatic
#1F0C35 #3B1867 #582399 #752ECB #955DDA

Accessibility & contrast

On white

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

On black

2.12
#582399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##582399#FFFFFF#000000##FFFFFF
##5823991.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#48425D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582399;
/* rgb */ color: rgb(88, 35, 153);
/* oklch */ color: oklch(40.4% 0.178 298.3);
Tailwind
colors: {
  custom: {
    50: '#8e64b8',
    500: '#582399',
    950: '#000000',
  },
}
SCSS
$custom: #582399;
$custom-light: #8e64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582399",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 266.949,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.17768,
    "h": 298.3
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#582399
secondary
#91BE59
accent
#E6429C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582399

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

Preview Lab → · Contrast checker → · Palette generator →

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