#582FB4#582FB4

#582FB4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.195 H 290.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#582FB4
RGBrgb(88, 47, 180)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 71%)
CMYKcmyk(51.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(32.71, 49.49, -63.78)
CIE-LCHlch(32.71, 80.73, 307.81°)
OKLaboklab(44.19% 0.0671 -0.1832)
OKLCHoklch(44.19% 0.195 290.1)
XYZxyz(13.2769, 7.4025, 43.9004)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB4 #8BB42F
analogous
#2F49B4 #582FB4 #9A2FB4
triadic
#582FB4 #B4582F #2FB458
tetradic
#582FB4 #B42F49 #8BB42F #2FB49A
square
#582FB4 #B42F49 #8BB42F #2FB49A
split-complementary
#582FB4 #B49A2F #49B42F
monochromatic
#291653 #402283 #582FB4 #774FD1 #9D80DE

Accessibility & contrast

On white

8.47
#582FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#582FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FB4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB4#FFFFFF#000000##FFFFFF
##582FB41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#37536F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582fb4;
/* rgb */ color: rgb(88, 47, 180);
/* oklch */ color: oklch(44.2% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#906ccc',
    500: '#582fb4',
    950: '#000000',
  },
}
SCSS
$custom: #582fb4;
$custom-light: #906ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb4",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 258.496,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.19508,
    "h": 290.1
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#582FB4
secondary
#AEC778
accent
#E246B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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