#582294#582294

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

Color values

HEX#582294
RGBrgb(88, 34, 148)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 58%)
CMYKcmyk(40.5%, 77%, 0%, 42%)
CIE-LABlab(27.73, 47.09, -52.57)
CIE-LCHlch(27.73, 70.58, 311.85°)
OKLaboklab(39.82% 0.0865 -0.1502)
OKLCHoklch(39.82% 0.173 299.9)
XYZxyz(9.9405, 5.3568, 28.5215)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582294 #5E9422
analogous
#222594 #582294 #912294
triadic
#582294 #945822 #229458
tetradic
#582294 #942225 #5E9422 #229491
square
#582294 #942225 #5E9422 #229491
split-complementary
#582294 #949122 #259422
monochromatic
#1D0B30 #3A1762 #582294 #762DC6 #9558D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582294#FFFFFF#000000##FFFFFF
##5822941.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)
#004197
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#4A405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582294;
/* rgb */ color: rgb(88, 34, 148);
/* oklch */ color: oklch(39.8% 0.173 299.9);
Tailwind
colors: {
  custom: {
    50: '#8d63b4',
    500: '#582294',
    950: '#000000',
  },
}
SCSS
$custom: #582294;
$custom-light: #8d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582294",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 268.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.17334,
    "h": 299.9
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#582294
secondary
#8CBD55
accent
#E64298
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582294

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

Preview Lab → · Contrast checker → · Palette generator →

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