#582FB8#582FB8

#582FB8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.200 H 289.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#582FB8
RGBrgb(88, 47, 184)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 72%)
CMYKcmyk(52.2%, 74.5%, 0%, 27.8%)
CIE-LABlab(33.07, 50.60, -65.56)
CIE-LCHlch(33.07, 82.82, 307.66°)
OKLaboklab(44.56% 0.0661 -0.1884)
OKLCHoklch(44.56% 0.2 289.3)
XYZxyz(13.6902, 7.5678, 46.0775)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB8 #8FB82F
analogous
#2F4BB8 #582FB8 #9C2FB8
triadic
#582FB8 #B8582F #2FB858
tetradic
#582FB8 #B82F4B #8FB82F #2FB89C
square
#582FB8 #B82F4B #8FB82F #2FB89C
split-complementary
#582FB8 #B89C2F #4BB82F
monochromatic
#291657 #412387 #582FB8 #7852D3 #9E82DF

Accessibility & contrast

On white

8.35
#582FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582FB8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB8#FFFFFF#000000##FFFFFF
##582FB81.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#345471
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582fb8;
/* rgb */ color: rgb(88, 47, 184);
/* oklch */ color: oklch(44.6% 0.200 289.3);
Tailwind
colors: {
  custom: {
    50: '#916cce',
    500: '#582fb8',
    950: '#000000',
  },
}
SCSS
$custom: #582fb8;
$custom-light: #916cce;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb8",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 257.956,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.19968,
    "h": 289.3
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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