#582FB1#582FB1

#582FB1 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.192 H 290.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#582FB1
RGBrgb(88, 47, 177)
HSLhsl(259, 58%, 44%)
HSVhsv(259, 73%, 69%)
CMYKcmyk(50.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(32.44, 48.66, -62.43)
CIE-LCHlch(32.44, 79.15, 307.93°)
OKLaboklab(43.92% 0.0678 -0.1792)
OKLCHoklch(43.92% 0.192 290.7)
XYZxyz(12.9746, 7.2815, 42.3083)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB1 #88B12F
analogous
#2F47B1 #582FB1 #992FB1
triadic
#582FB1 #B1582F #2FB158
tetradic
#582FB1 #B12F47 #88B12F #2FB199
square
#582FB1 #B12F47 #88B12F #2FB199
split-complementary
#582FB1 #B1992F #47B12F
monochromatic
#281550 #402281 #582FB1 #774DD0 #9C7EDD

Accessibility & contrast

On white

8.55
#582FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582FB1
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB1#FFFFFF#000000##FFFFFF
##582FB11.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#3A526D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582fb1;
/* rgb */ color: rgb(88, 47, 177);
/* oklch */ color: oklch(43.9% 0.192 290.7);
Tailwind
colors: {
  custom: {
    50: '#906cc9',
    500: '#582fb1',
    950: '#000000',
  },
}
SCSS
$custom: #582fb1;
$custom-light: #906cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb1",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 258.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.19163,
    "h": 290.7
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#582FB1
secondary
#ACC576
accent
#E147B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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