#582CA2#582CA2

#582CA2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.178 H 294.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#582CA2
RGBrgb(88, 44, 162)
HSLhsl(262, 57%, 40%)
HSVhsv(262, 73%, 64%)
CMYKcmyk(45.7%, 72.8%, 0%, 36.5%)
CIE-LABlab(30.60, 46.03, -56.42)
CIE-LCHlch(30.60, 72.82, 309.21°)
OKLaboklab(42.22% 0.0739 -0.1616)
OKLCHoklch(42.22% 0.178 294.6)
XYZxyz(11.4450, 6.4844, 34.8240)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA2 #76A22C
analogous
#2C3BA2 #582CA2 #932CA2
triadic
#582CA2 #A2582C #2CA258
tetradic
#582CA2 #A22C3B #76A22C #2CA293
square
#582CA2 #A22C3B #76A22C #2CA293
split-complementary
#582CA2 #A2932C #3BA22C
monochromatic
#241242 #3E1F72 #582CA2 #7440CB #9770D8

Accessibility & contrast

On white

9.14
#582CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#582CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CA2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA2#FFFFFF#000000##FFFFFF
##582CA21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#434A64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ca2;
/* rgb */ color: rgb(88, 44, 162);
/* oklch */ color: oklch(42.2% 0.178 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e69be',
    500: '#582ca2',
    950: '#000000',
  },
}
SCSS
$custom: #582ca2;
$custom-light: #8e69be;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca2",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 262.373,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.17768,
    "h": 294.6
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#582CA2
secondary
#A0BF6A
accent
#E147A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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