#582FB2#582FB2

#582FB2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.193 H 290.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#582FB2
RGBrgb(88, 47, 178)
HSLhsl(259, 58%, 44%)
HSVhsv(259, 74%, 70%)
CMYKcmyk(50.6%, 73.6%, 0%, 30.2%)
CIE-LABlab(32.53, 48.93, -62.88)
CIE-LCHlch(32.53, 79.68, 307.89°)
OKLaboklab(44.01% 0.0676 -0.1805)
OKLCHoklch(44.01% 0.193 290.5)
XYZxyz(13.0746, 7.3216, 42.8351)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB2 #89B22F
analogous
#2F47B2 #582FB2 #9A2FB2
triadic
#582FB2 #B2582F #2FB258
tetradic
#582FB2 #B22F47 #89B22F #2FB29A
square
#582FB2 #B22F47 #89B22F #2FB29A
split-complementary
#582FB2 #B29A2F #47B22F
monochromatic
#281551 #402282 #582FB2 #774ED0 #9C7EDD

Accessibility & contrast

On white

8.52
#582FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#582FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FB2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB2#FFFFFF#000000##FFFFFF
##582FB21.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#39526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582fb2;
/* rgb */ color: rgb(88, 47, 178);
/* oklch */ color: oklch(44.0% 0.193 290.5);
Tailwind
colors: {
  custom: {
    50: '#906cca',
    500: '#582fb2',
    950: '#000000',
  },
}
SCSS
$custom: #582fb2;
$custom-light: #906cca;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb2",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 258.779,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.19278,
    "h": 290.5
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#582FB2
secondary
#ADC677
accent
#E146B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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