#582CA5#582CA5

#582CA5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.181 H 293.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#582CA5
RGBrgb(88, 44, 165)
HSLhsl(262, 58%, 41%)
HSVhsv(262, 73%, 65%)
CMYKcmyk(46.7%, 73.3%, 0%, 35.3%)
CIE-LABlab(30.86, 46.85, -57.82)
CIE-LCHlch(30.86, 74.41, 309.02°)
OKLaboklab(42.48% 0.0732 -0.1657)
OKLCHoklch(42.48% 0.181 293.8)
XYZxyz(11.7149, 6.5923, 36.2452)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA5 #79A52C
analogous
#2C3CA5 #582CA5 #942CA5
triadic
#582CA5 #A5582C #2CA558
tetradic
#582CA5 #A52C3C #79A52C #2CA594
square
#582CA5 #A52C3C #79A52C #2CA594
split-complementary
#582CA5 #A5942C #3CA52C
monochromatic
#241244 #3E1F75 #582CA5 #7442CD #9872D9

Accessibility & contrast

On white

9.06
#582CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#582CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CA5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA5#FFFFFF#000000##FFFFFF
##582CA51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#414C66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ca5;
/* rgb */ color: rgb(88, 44, 165);
/* oklch */ color: oklch(42.5% 0.181 293.8);
Tailwind
colors: {
  custom: {
    50: '#8e69c1',
    500: '#582ca5',
    950: '#000000',
  },
}
SCSS
$custom: #582ca5;
$custom-light: #8e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca5",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 261.818,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.18114,
    "h": 293.8
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#582CA5
secondary
#A2C16C
accent
#E147A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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