#582BAC#582BAC

#582BAC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.190 H 292.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#582BAC
RGBrgb(88, 43, 172)
HSLhsl(261, 60%, 42%)
HSVhsv(261, 75%, 67%)
CMYKcmyk(48.8%, 75%, 0%, 32.5%)
CIE-LABlab(31.30, 49.24, -61.30)
CIE-LCHlch(31.30, 78.63, 308.77°)
OKLaboklab(42.99% 0.0724 -0.1759)
OKLCHoklch(42.99% 0.19 292.4)
XYZxyz(12.3327, 6.7806, 39.6807)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BAC #7FAC2B
analogous
#2B3FAC #582BAC #982BAC
triadic
#582BAC #AC582B #2BAC58
tetradic
#582BAC #AC2B3F #7FAC2B #2BAC98
square
#582BAC #AC2B3F #7FAC2B #2BAC98
split-complementary
#582BAC #AC982B #3FAC2B
monochromatic
#26134A #3F1F7B #582BAC #7544D0 #9975DC

Accessibility & contrast

On white

8.91
#582BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#582BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BAC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BAC#FFFFFF#000000##FFFFFF
##582BAC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#3D4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582bac;
/* rgb */ color: rgb(88, 43, 172);
/* oklch */ color: oklch(43.0% 0.190 292.4);
Tailwind
colors: {
  custom: {
    50: '#8f69c6',
    500: '#582bac',
    950: '#000000',
  },
}
SCSS
$custom: #582bac;
$custom-light: #8f69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#582bac",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 260.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.19023,
    "h": 292.4
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#582BAC
secondary
#A6C46F
accent
#E345AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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