#582194#582194

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

Color values

HEX#582194
RGBrgb(88, 33, 148)
HSLhsl(269, 64%, 35%)
HSVhsv(269, 78%, 58%)
CMYKcmyk(40.5%, 77.7%, 0%, 42%)
CIE-LABlab(27.57, 47.53, -52.83)
CIE-LCHlch(27.57, 71.06, 311.98°)
OKLaboklab(39.72% 0.0874 -0.1509)
OKLCHoklch(39.72% 0.174 300.1)
XYZxyz(9.9123, 5.3004, 28.5121)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582194 #5D9421
analogous
#212394 #582194 #912194
triadic
#582194 #945821 #219458
tetradic
#582194 #942123 #5D9421 #219491
square
#582194 #942123 #5D9421 #219491
split-complementary
#582194 #949121 #239421
monochromatic
#1C0B30 #3A1662 #582194 #762CC6 #9556D9

Accessibility & contrast

On white

10.19
#582194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#582194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582194
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582194#FFFFFF#000000##FFFFFF
##5821941.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582194;
/* rgb */ color: rgb(88, 33, 148);
/* oklch */ color: oklch(39.7% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#8d63b4',
    500: '#582194',
    950: '#000000',
  },
}
SCSS
$custom: #582194;
$custom-light: #8d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582194",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 268.696,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.17442,
    "h": 300.1
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#582194
secondary
#8BBD54
accent
#E74197
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582194

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

Preview Lab → · Contrast checker → · Palette generator →

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