#582293#582293

#582293 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.172 H 300.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#582293
RGBrgb(88, 34, 147)
HSLhsl(269, 62%, 35%)
HSVhsv(269, 77%, 58%)
CMYKcmyk(40.1%, 76.9%, 0%, 42.4%)
CIE-LABlab(27.64, 46.84, -52.10)
CIE-LCHlch(27.64, 70.06, 311.96°)
OKLaboklab(39.74% 0.0867 -0.1488)
OKLCHoklch(39.74% 0.172 300.2)
XYZxyz(9.8617, 5.3253, 28.1064)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582293 #5D9322
analogous
#222493 #582293 #912293
triadic
#582293 #935822 #229358
tetradic
#582293 #932224 #5D9322 #229391
square
#582293 #932224 #5D9322 #229391
split-complementary
#582293 #939122 #249322
monochromatic
#1C0B30 #3A1761 #582293 #762DC5 #9557D8

Accessibility & contrast

On white

10.17
#582293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582293
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582293#FFFFFF#000000##FFFFFF
##5822931.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#4A3F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582293;
/* rgb */ color: rgb(88, 34, 147);
/* oklch */ color: oklch(39.7% 0.172 300.2);
Tailwind
colors: {
  custom: {
    50: '#8d63b4',
    500: '#582293',
    950: '#000000',
  },
}
SCSS
$custom: #582293;
$custom-light: #8d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582293",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 268.673,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.17227,
    "h": 300.2
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#582293
secondary
#8BBC55
accent
#E54298
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582293

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

Preview Lab → · Contrast checker → · Palette generator →

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