#582491#582491

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

Color values

HEX#582491
RGBrgb(88, 36, 145)
HSLhsl(269, 60%, 35%)
HSVhsv(269, 75%, 57%)
CMYKcmyk(39.3%, 75.2%, 0%, 43.1%)
CIE-LABlab(27.79, 45.42, -50.62)
CIE-LCHlch(27.79, 68.01, 311.90°)
OKLaboklab(39.79% 0.0853 -0.1445)
OKLCHoklch(39.79% 0.168 300.6)
XYZxyz(9.7650, 5.3807, 27.3067)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582491 #5D9124
analogous
#242691 #582491 #8E2491
triadic
#582491 #915824 #249158
tetradic
#582491 #912426 #5D9124 #24918E
square
#582491 #912426 #5D9124 #24918E
split-complementary
#582491 #918E24 #269124
monochromatic
#1C0C2F #3A1860 #582491 #7630C2 #9559D6

Accessibility & contrast

On white

10.11
#582491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582491
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582491#FFFFFF#000000##FFFFFF
##5824911.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#4B4058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582491;
/* rgb */ color: rgb(88, 36, 145);
/* oklch */ color: oklch(39.8% 0.168 300.6);
Tailwind
colors: {
  custom: {
    50: '#8d64b2',
    500: '#582491',
    950: '#000000',
  },
}
SCSS
$custom: #582491;
$custom-light: #8d64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582491",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 268.624,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.16781,
    "h": 300.6
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#582491
secondary
#8BBA56
accent
#E34498
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582491

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

Preview Lab → · Contrast checker → · Palette generator →

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