#582AD4#582AD4

#582AD4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.235 H 285.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#582AD4
RGBrgb(88, 42, 212)
HSLhsl(256, 67%, 50%)
HSVhsv(256, 80%, 83%)
CMYKcmyk(58.5%, 80.2%, 0%, 16.9%)
CIE-LABlab(34.97, 60.53, -78.81)
CIE-LCHlch(34.97, 99.37, 307.53°)
OKLaboklab(46.7% 0.0614 -0.2271)
OKLCHoklch(46.7% 0.235 285.1)
XYZxyz(16.7325, 8.4831, 63.0303)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AD4 #A6D42A
analogous
#2A51D4 #582AD4 #AD2AD4
triadic
#582AD4 #D4582A #2AD458
tetradic
#582AD4 #D42A51 #A6D42A #2AD4AD
square
#582AD4 #D42A51 #A6D42A #2AD4AD
split-complementary
#582AD4 #D4AD2A #51D42A
monochromatic
#2E166E #4320A1 #582AD4 #805CDF #A88FE9

Accessibility & contrast

On white

7.79
#582AD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#582AD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AD4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AD4#FFFFFF#000000##FFFFFF
##582AD41.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#004DD1
Tritanopia (blue-blind)
#0A5E80
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #582ad4;
/* rgb */ color: rgb(88, 42, 212);
/* oklch */ color: oklch(46.7% 0.235 285.1);
Tailwind
colors: {
  custom: {
    50: '#966be3',
    500: '#582ad4',
    950: '#000000',
  },
}
SCSS
$custom: #582ad4;
$custom-light: #966be3;
$custom-dark: #000000;
JSON
{
  "hex": "#582ad4",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 212
  },
  "hsl": {
    "h": 256.235,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.23524,
    "h": 285.1
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#582AD4
secondary
#BFD386
accent
#EA3EBB
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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