#582193#582193

#582193 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.173 H 300.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#582193
RGBrgb(88, 33, 147)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 78%, 58%)
CMYKcmyk(40.1%, 77.6%, 0%, 42.4%)
CIE-LABlab(27.49, 47.28, -52.35)
CIE-LCHlch(27.49, 70.54, 312.09°)
OKLaboklab(39.63% 0.0877 -0.1496)
OKLCHoklch(39.63% 0.173 300.4)
XYZxyz(9.8335, 5.2689, 28.0970)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582193 #5C9321
analogous
#212393 #582193 #912193
triadic
#582193 #935821 #219358
tetradic
#582193 #932123 #5C9321 #219391
square
#582193 #932123 #5C9321 #219391
split-complementary
#582193 #939121 #239321
monochromatic
#1C0B2F #3A1661 #582193 #762CC5 #9555D9

Accessibility & contrast

On white

10.22
#582193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#582193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582193
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582193#FFFFFF#000000##FFFFFF
##5821931.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.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: #582193;
/* rgb */ color: rgb(88, 33, 147);
/* oklch */ color: oklch(39.6% 0.173 300.4);
Tailwind
colors: {
  custom: {
    50: '#8d63b4',
    500: '#582193',
    950: '#000000',
  },
}
SCSS
$custom: #582193;
$custom-light: #8d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582193",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 268.947,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.17335,
    "h": 300.4
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#582193
secondary
#8ABD53
accent
#E64197
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582193

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

Preview Lab → · Contrast checker → · Palette generator →

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