#582192#582192

#582192 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 300.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#582192
RGBrgb(88, 33, 146)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 77%, 57%)
CMYKcmyk(39.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(27.40, 47.03, -51.88)
CIE-LCHlch(27.40, 70.02, 312.19°)
OKLaboklab(39.54% 0.0879 -0.1482)
OKLCHoklch(39.54% 0.172 300.7)
XYZxyz(9.7554, 5.2377, 27.6856)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582192 #5B9221
analogous
#212292 #582192 #912192
triadic
#582192 #925821 #219258
tetradic
#582192 #922122 #5B9221 #219291
square
#582192 #922122 #5B9221 #219291
split-complementary
#582192 #929121 #229221
monochromatic
#1C0A2E #3A1660 #582192 #762CC4 #9555D9

Accessibility & contrast

On white

10.26
#582192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582192
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582192#FFFFFF#000000##FFFFFF
##5821921.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#4B3E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582192;
/* rgb */ color: rgb(88, 33, 146);
/* oklch */ color: oklch(39.5% 0.172 300.7);
Tailwind
colors: {
  custom: {
    50: '#8d63b3',
    500: '#582192',
    950: '#000000',
  },
}
SCSS
$custom: #582192;
$custom-light: #8d63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582192",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 269.204,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.17228,
    "h": 300.7
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#582192
secondary
#89BC53
accent
#E64296
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582192

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

Preview Lab → · Contrast checker → · Palette generator →

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