#582492#582492

#582492 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.169 H 300.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#582492
RGBrgb(88, 36, 146)
HSLhsl(268, 60%, 36%)
HSVhsv(268, 75%, 57%)
CMYKcmyk(39.7%, 75.3%, 0%, 42.7%)
CIE-LABlab(27.88, 45.67, -51.10)
CIE-LCHlch(27.88, 68.54, 311.79°)
OKLaboklab(39.88% 0.0851 -0.1459)
OKLCHoklch(39.88% 0.169 300.3)
XYZxyz(9.8424, 5.4117, 27.7146)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582492 #5E9224
analogous
#242792 #582492 #8F2492
triadic
#582492 #925824 #249258
tetradic
#582492 #922427 #5E9224 #24928F
square
#582492 #922427 #5E9224 #24928F
split-complementary
#582492 #928F24 #279224
monochromatic
#1D0C30 #3A1861 #582492 #7630C3 #955AD6

Accessibility & contrast

On white

10.08
#582492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582492
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582492#FFFFFF#000000##FFFFFF
##5824921.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#4B4059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582492;
/* rgb */ color: rgb(88, 36, 146);
/* oklch */ color: oklch(39.9% 0.169 300.3);
Tailwind
colors: {
  custom: {
    50: '#8d64b3',
    500: '#582492',
    950: '#000000',
  },
}
SCSS
$custom: #582492;
$custom-light: #8d64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582492",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 268.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.16891,
    "h": 300.3
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#582492
secondary
#8CBB57
accent
#E44498
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582492

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

Preview Lab → · Contrast checker → · Palette generator →

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