#582FB9#582FB9

#582FB9 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.201 H 289.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#582FB9
RGBrgb(88, 47, 185)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 75%, 73%)
CMYKcmyk(52.4%, 74.6%, 0%, 27.5%)
CIE-LABlab(33.16, 50.88, -66.00)
CIE-LCHlch(33.16, 83.34, 307.63°)
OKLaboklab(44.65% 0.0659 -0.1897)
OKLCHoklch(44.65% 0.201 289.1)
XYZxyz(13.7954, 7.6099, 46.6315)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB9 #90B92F
analogous
#2F4BB9 #582FB9 #9D2FB9
triadic
#582FB9 #B9582F #2FB958
tetradic
#582FB9 #B92F4B #90B92F #2FB99D
square
#582FB9 #B92F4B #90B92F #2FB99D
split-complementary
#582FB9 #B99D2F #4BB92F
monochromatic
#2A1657 #412388 #582FB9 #7852D3 #9E83DF

Accessibility & contrast

On white

8.33
#582FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#582FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FB9
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB9#FFFFFF#000000##FFFFFF
##582FB91.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#335572
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582fb9;
/* rgb */ color: rgb(88, 47, 185);
/* oklch */ color: oklch(44.6% 0.201 289.1);
Tailwind
colors: {
  custom: {
    50: '#916ccf',
    500: '#582fb9',
    950: '#000000',
  },
}
SCSS
$custom: #582fb9;
$custom-light: #916ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb9",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 257.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.20081,
    "h": 289.1
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#582FB9
secondary
#B2C97B
accent
#E345B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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