#582393#582393

#582393 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.171 H 300.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#582393
RGBrgb(88, 35, 147)
HSLhsl(268, 62%, 36%)
HSVhsv(268, 76%, 58%)
CMYKcmyk(40.1%, 76.2%, 0%, 42.4%)
CIE-LABlab(27.80, 46.39, -51.84)
CIE-LCHlch(27.80, 69.56, 311.82°)
OKLaboklab(39.85% 0.0858 -0.1481)
OKLCHoklch(39.85% 0.171 300.1)
XYZxyz(9.8907, 5.3833, 28.1161)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582393 #5E9323
analogous
#232693 #582393 #902393
triadic
#582393 #935823 #239358
tetradic
#582393 #932326 #5E9323 #239390
square
#582393 #932326 #5E9323 #239390
split-complementary
#582393 #939023 #269323
monochromatic
#1D0B30 #3A1762 #582393 #762FC4 #9559D7

Accessibility & contrast

On white

10.11
#582393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582393
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582393#FFFFFF#000000##FFFFFF
##5823931.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#4A4059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582393;
/* rgb */ color: rgb(88, 35, 147);
/* oklch */ color: oklch(39.8% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#8d64b4',
    500: '#582393',
    950: '#000000',
  },
}
SCSS
$custom: #582393;
$custom-light: #8d64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582393",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 268.393,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.17115,
    "h": 300.1
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#582393
secondary
#8CBC56
accent
#E54398
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582393

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

Preview Lab → · Contrast checker → · Palette generator →

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