#582FB5#582FB5

#582FB5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.196 H 289.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#582FB5
RGBrgb(88, 47, 181)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 71%)
CMYKcmyk(51.4%, 74%, 0%, 29%)
CIE-LABlab(32.80, 49.77, -64.22)
CIE-LCHlch(32.80, 81.25, 307.77°)
OKLaboklab(44.28% 0.0669 -0.1845)
OKLCHoklch(44.28% 0.196 289.9)
XYZxyz(13.3791, 7.4434, 44.4389)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB5 #8CB52F
analogous
#2F49B5 #582FB5 #9B2FB5
triadic
#582FB5 #B5582F #2FB558
tetradic
#582FB5 #B52F49 #8CB52F #2FB59B
square
#582FB5 #B52F49 #8CB52F #2FB59B
split-complementary
#582FB5 #B59B2F #49B52F
monochromatic
#291654 #402284 #582FB5 #7750D1 #9D80DE

Accessibility & contrast

On white

8.44
#582FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#582FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FB5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB5#FFFFFF#000000##FFFFFF
##582FB51.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#375370
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582fb5;
/* rgb */ color: rgb(88, 47, 181);
/* oklch */ color: oklch(44.3% 0.196 289.9);
Tailwind
colors: {
  custom: {
    50: '#906ccc',
    500: '#582fb5',
    950: '#000000',
  },
}
SCSS
$custom: #582fb5;
$custom-light: #906ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb5",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 258.358,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44284,
    "c": 0.19623,
    "h": 289.9
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#582FB5
secondary
#AFC779
accent
#E246B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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