#582FA3#582FA3

#582FA3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.175 H 293.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#582FA3
RGBrgb(88, 47, 163)
HSLhsl(261, 55%, 41%)
HSVhsv(261, 71%, 64%)
CMYKcmyk(46%, 71.2%, 0%, 36.1%)
CIE-LABlab(31.23, 44.77, -56.00)
CIE-LCHlch(31.23, 71.70, 308.64°)
OKLaboklab(42.7% 0.0708 -0.1603)
OKLCHoklch(42.7% 0.175 293.8)
XYZxyz(11.6501, 6.7517, 35.3326)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA3 #7AA32F
analogous
#2F40A3 #582FA3 #922FA3
triadic
#582FA3 #A3582F #2FA358
tetradic
#582FA3 #A32F40 #7AA32F #2FA392
square
#582FA3 #A32F40 #7AA32F #2FA392
split-complementary
#582FA3 #A3922F #40A32F
monochromatic
#251444 #3E2173 #582FA3 #7446CA #9875D7

Accessibility & contrast

On white

8.93
#582FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#582FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FA3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA3#FFFFFF#000000##FFFFFF
##582FA31.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#424C65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582fa3;
/* rgb */ color: rgb(88, 47, 163);
/* oklch */ color: oklch(42.7% 0.175 293.8);
Tailwind
colors: {
  custom: {
    50: '#8e6bbf',
    500: '#582fa3',
    950: '#000000',
  },
}
SCSS
$custom: #582fa3;
$custom-light: #8e6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa3",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 261.207,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.17528,
    "h": 293.8
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#582FA3
secondary
#A3BF6F
accent
#DF49AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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