#582CA8#582CA8

#582CA8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.185 H 293.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#582CA8
RGBrgb(88, 44, 168)
HSLhsl(261, 58%, 42%)
HSVhsv(261, 74%, 66%)
CMYKcmyk(47.6%, 73.8%, 0%, 34.1%)
CIE-LABlab(31.12, 47.67, -59.20)
CIE-LCHlch(31.12, 76.00, 308.84°)
OKLaboklab(42.75% 0.0725 -0.1697)
OKLCHoklch(42.75% 0.185 293.1)
XYZxyz(11.9911, 6.7028, 37.7002)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA8 #7CA82C
analogous
#2C3EA8 #582CA8 #962CA8
triadic
#582CA8 #A8582C #2CA858
tetradic
#582CA8 #A82C3E #7CA82C #2CA896
square
#582CA8 #A82C3E #7CA82C #2CA896
split-complementary
#582CA8 #A8962C #3EA82C
monochromatic
#251347 #3F1F78 #582CA8 #7443CE #9874DB

Accessibility & contrast

On white

8.97
#582CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#582CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CA8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA8#FFFFFF#000000##FFFFFF
##582CA81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#404D67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ca8;
/* rgb */ color: rgb(88, 44, 168);
/* oklch */ color: oklch(42.7% 0.185 293.1);
Tailwind
colors: {
  custom: {
    50: '#8f69c3',
    500: '#582ca8',
    950: '#000000',
  },
}
SCSS
$custom: #582ca8;
$custom-light: #8f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca8",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 261.29,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.18458,
    "h": 293.1
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#582CA8
secondary
#A4C26E
accent
#E246AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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