#582CA4#582CA4

#582CA4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.180 H 294.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#582CA4
RGBrgb(88, 44, 164)
HSLhsl(262, 58%, 41%)
HSVhsv(262, 73%, 64%)
CMYKcmyk(46.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(30.77, 46.57, -57.35)
CIE-LCHlch(30.77, 73.88, 309.08°)
OKLaboklab(42.4% 0.0735 -0.1643)
OKLCHoklch(42.4% 0.18 294.1)
XYZxyz(11.6242, 6.5561, 35.7678)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA4 #78A42C
analogous
#2C3CA4 #582CA4 #942CA4
triadic
#582CA4 #A4582C #2CA458
tetradic
#582CA4 #A42C3C #78A42C #2CA494
square
#582CA4 #A42C3C #78A42C #2CA494
split-complementary
#582CA4 #A4942C #3CA42C
monochromatic
#241243 #3E1F74 #582CA4 #7441CC #9771D9

Accessibility & contrast

On white

9.09
#582CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#582CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CA4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA4#FFFFFF#000000##FFFFFF
##582CA41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#424B65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ca4;
/* rgb */ color: rgb(88, 44, 164);
/* oklch */ color: oklch(42.4% 0.180 294.1);
Tailwind
colors: {
  custom: {
    50: '#8e69c0',
    500: '#582ca4',
    950: '#000000',
  },
}
SCSS
$custom: #582ca4;
$custom-light: #8e69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca4",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 262,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.17999,
    "h": 294.1
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#582CA4
secondary
#A1C06B
accent
#E147A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582CA4

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

Preview Lab → · Contrast checker → · Palette generator →

#582CA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva