#582392#582392

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

Color values

HEX#582392
RGBrgb(88, 35, 146)
HSLhsl(269, 61%, 35%)
HSVhsv(269, 76%, 57%)
CMYKcmyk(39.7%, 76%, 0%, 42.7%)
CIE-LABlab(27.71, 46.13, -51.36)
CIE-LCHlch(27.71, 69.04, 311.93°)
OKLaboklab(39.76% 0.0861 -0.1467)
OKLCHoklch(39.76% 0.17 300.4)
XYZxyz(9.8126, 5.3520, 27.7046)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582392 #5D9223
analogous
#232592 #582392 #8F2392
triadic
#582392 #925823 #239258
tetradic
#582392 #922325 #5D9223 #23928F
square
#582392 #922325 #5D9223 #23928F
split-complementary
#582392 #928F23 #259223
monochromatic
#1C0B2F #3A1761 #582392 #762FC3 #9558D7

Accessibility & contrast

On white

10.14
#582392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582392
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582392#FFFFFF#000000##FFFFFF
##5823921.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#4B3F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582392;
/* rgb */ color: rgb(88, 35, 146);
/* oklch */ color: oklch(39.8% 0.170 300.4);
Tailwind
colors: {
  custom: {
    50: '#8d64b3',
    500: '#582392',
    950: '#000000',
  },
}
SCSS
$custom: #582392;
$custom-light: #8d64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582392",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 268.649,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.17005,
    "h": 300.4
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#582392
secondary
#8BBB55
accent
#E44398
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582392

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

Preview Lab → · Contrast checker → · Palette generator →

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