#582FA5#582FA5

#582FA5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.178 H 293.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#582FA5
RGBrgb(88, 47, 165)
HSLhsl(261, 56%, 42%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(46.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(31.40, 45.33, -56.93)
CIE-LCHlch(31.40, 72.77, 308.53°)
OKLaboklab(42.87% 0.0704 -0.1631)
OKLCHoklch(42.87% 0.178 293.4)
XYZxyz(11.8307, 6.8240, 36.2838)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA5 #7CA52F
analogous
#2F41A5 #582FA5 #932FA5
triadic
#582FA5 #A5582F #2FA558
tetradic
#582FA5 #A52F41 #7CA52F #2FA593
square
#582FA5 #A52F41 #7CA52F #2FA593
split-complementary
#582FA5 #A5932F #41A52F
monochromatic
#251446 #3F2175 #582FA5 #7447CB #9876D8

Accessibility & contrast

On white

8.88
#582FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582FA5
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA5#FFFFFF#000000##FFFFFF
##582FA51.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#414D67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582fa5;
/* rgb */ color: rgb(88, 47, 165);
/* oklch */ color: oklch(42.9% 0.178 293.4);
Tailwind
colors: {
  custom: {
    50: '#8e6bc1',
    500: '#582fa5',
    950: '#000000',
  },
}
SCSS
$custom: #582fa5;
$custom-light: #8e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa5",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 260.847,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.17764,
    "h": 293.4
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#582FA5
secondary
#A4C070
accent
#DF49AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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