#582DB3#582DB3

#582DB3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.196 H 290.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#582DB3
RGBrgb(88, 45, 179)
HSLhsl(259, 60%, 44%)
HSVhsv(259, 75%, 70%)
CMYKcmyk(50.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(32.27, 50.19, -63.90)
CIE-LCHlch(32.27, 81.25, 308.15°)
OKLaboklab(43.86% 0.069 -0.1835)
OKLCHoklch(43.86% 0.196 290.6)
XYZxyz(13.0972, 7.2056, 43.3398)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DB3 #88B32D
analogous
#2D45B3 #582DB3 #9B2DB3
triadic
#582DB3 #B3582D #2DB358
tetradic
#582DB3 #B32D45 #88B32D #2DB39B
square
#582DB3 #B32D45 #88B32D #2DB39B
split-complementary
#582DB3 #B39B2D #45B32D
monochromatic
#281451 #402182 #582DB3 #774BD2 #9C7CDE

Accessibility & contrast

On white

8.60
#582DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#582DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DB3
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DB3#FFFFFF#000000##FFFFFF
##582DB31.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#38516E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582db3;
/* rgb */ color: rgb(88, 45, 179);
/* oklch */ color: oklch(43.9% 0.196 290.6);
Tailwind
colors: {
  custom: {
    50: '#906acb',
    500: '#582db3',
    950: '#000000',
  },
}
SCSS
$custom: #582db3;
$custom-light: #906acb;
$custom-dark: #000000;
JSON
{
  "hex": "#582db3",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 259.254,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.19606,
    "h": 290.6
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#582DB3
secondary
#ACC775
accent
#E345B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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