#582EAC#582EAC

#582EAC is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.187 H 291.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#582EAC
RGBrgb(88, 46, 172)
HSLhsl(260, 58%, 43%)
HSVhsv(260, 73%, 67%)
CMYKcmyk(48.8%, 73.3%, 0%, 32.5%)
CIE-LABlab(31.82, 47.77, -60.45)
CIE-LCHlch(31.82, 77.05, 308.32°)
OKLaboklab(43.35% 0.0698 -0.1734)
OKLCHoklch(43.35% 0.187 291.9)
XYZxyz(12.4458, 7.0068, 39.7184)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EAC #82AC2E
analogous
#2E43AC #582EAC #972EAC
triadic
#582EAC #AC582E #2EAC58
tetradic
#582EAC #AC2E43 #82AC2E #2EAC97
square
#582EAC #AC2E43 #82AC2E #2EAC97
split-complementary
#582EAC #AC972E #43AC2E
monochromatic
#27144B #3F217C #582EAC #7549CE #9A79DB

Accessibility & contrast

On white

8.74
#582EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#582EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EAC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EAC#FFFFFF#000000##FFFFFF
##582EAC1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#3D4F6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582eac;
/* rgb */ color: rgb(88, 46, 172);
/* oklch */ color: oklch(43.4% 0.187 291.9);
Tailwind
colors: {
  custom: {
    50: '#8f6bc6',
    500: '#582eac',
    950: '#000000',
  },
}
SCSS
$custom: #582eac;
$custom-light: #8f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#582eac",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 260,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.18695,
    "h": 291.9
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#582EAC
secondary
#A8C372
accent
#E147AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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