#582CA1#582CA1

#582CA1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.177 H 294.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#582CA1
RGBrgb(88, 44, 161)
HSLhsl(263, 57%, 40%)
HSVhsv(263, 73%, 63%)
CMYKcmyk(45.3%, 72.7%, 0%, 36.9%)
CIE-LABlab(30.52, 45.76, -55.96)
CIE-LCHlch(30.52, 72.28, 309.27°)
OKLaboklab(42.14% 0.0741 -0.1602)
OKLCHoklch(42.14% 0.177 294.8)
XYZxyz(11.3565, 6.4490, 34.3577)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA1 #75A12C
analogous
#2C3BA1 #582CA1 #922CA1
triadic
#582CA1 #A1582C #2CA158
tetradic
#582CA1 #A12C3B #75A12C #2CA192
square
#582CA1 #A12C3B #75A12C #2CA192
split-complementary
#582CA1 #A1922C #3BA12C
monochromatic
#231241 #3E1F71 #582CA1 #7440CB #9770D8

Accessibility & contrast

On white

9.17
#582CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#582CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CA1
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA1#FFFFFF#000000##FFFFFF
##582CA11.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#434A64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ca1;
/* rgb */ color: rgb(88, 44, 161);
/* oklch */ color: oklch(42.1% 0.177 294.8);
Tailwind
colors: {
  custom: {
    50: '#8e69be',
    500: '#582ca1',
    950: '#000000',
  },
}
SCSS
$custom: #582ca1;
$custom-light: #8e69be;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca1",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 262.564,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.17653,
    "h": 294.8
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#582CA1
secondary
#9FBF6A
accent
#E047A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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