#582FB7#582FB7

#582FB7 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.199 H 289.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#582FB7
RGBrgb(88, 47, 183)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 72%)
CMYKcmyk(51.9%, 74.3%, 0%, 28.2%)
CIE-LABlab(32.98, 50.33, -65.11)
CIE-LCHlch(32.98, 82.30, 307.70°)
OKLaboklab(44.47% 0.0664 -0.1871)
OKLCHoklch(44.47% 0.199 289.5)
XYZxyz(13.5858, 7.5260, 45.5274)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB7 #8EB72F
analogous
#2F4AB7 #582FB7 #9C2FB7
triadic
#582FB7 #B7582F #2FB758
tetradic
#582FB7 #B72F4A #8EB72F #2FB79C
square
#582FB7 #B72F4A #8EB72F #2FB79C
split-complementary
#582FB7 #B79C2F #4AB72F
monochromatic
#291656 #412286 #582FB7 #7851D2 #9E82DF

Accessibility & contrast

On white

8.38
#582FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#582FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FB7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB7#FFFFFF#000000##FFFFFF
##582FB71.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#355471
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582fb7;
/* rgb */ color: rgb(88, 47, 183);
/* oklch */ color: oklch(44.5% 0.199 289.5);
Tailwind
colors: {
  custom: {
    50: '#916cce',
    500: '#582fb7',
    950: '#000000',
  },
}
SCSS
$custom: #582fb7;
$custom-light: #916cce;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb7",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 258.088,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.19852,
    "h": 289.5
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#582FB7
secondary
#B0C87A
accent
#E245B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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