#582387#582387

#582387 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.158 H 304.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#582387
RGBrgb(88, 35, 135)
HSLhsl(272, 59%, 33%)
HSVhsv(272, 74%, 53%)
CMYKcmyk(34.8%, 74.1%, 0%, 47.1%)
CIE-LABlab(26.81, 43.36, -46.01)
CIE-LCHlch(26.81, 63.22, 313.30°)
OKLaboklab(38.84% 0.0884 -0.1309)
OKLCHoklch(38.84% 0.158 304)
XYZxyz(8.9977, 5.0261, 23.4131)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582387 #528723
analogous
#262387 #582387 #872384
triadic
#582387 #875823 #238758
tetradic
#582387 #872623 #528723 #238487
square
#582387 #872623 #528723 #238487
split-complementary
#582387 #848723 #238726
monochromatic
#190A26 #381656 #582387 #7830B8 #9652D2

Accessibility & contrast

On white

10.47
#582387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#582387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582387
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582387#FFFFFF#000000##FFFFFF
##5823871.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#4F3B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582387;
/* rgb */ color: rgb(88, 35, 135);
/* oklch */ color: oklch(38.8% 0.158 304.0);
Tailwind
colors: {
  custom: {
    50: '#8c63ab',
    500: '#582387',
    950: '#000000',
  },
}
SCSS
$custom: #582387;
$custom-light: #8c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582387",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 271.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.158,
    "h": 304
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#582387
secondary
#80B650
accent
#E2468F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582387

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

Preview Lab → · Contrast checker → · Palette generator →

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