#582DB2#582DB2

#582DB2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.195 H 290.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#582DB2
RGBrgb(88, 45, 178)
HSLhsl(259, 60%, 44%)
HSVhsv(259, 75%, 70%)
CMYKcmyk(50.6%, 74.7%, 0%, 30.2%)
CIE-LABlab(32.18, 49.92, -63.45)
CIE-LCHlch(32.18, 80.73, 308.19°)
OKLaboklab(43.77% 0.0693 -0.1822)
OKLCHoklch(43.77% 0.195 290.8)
XYZxyz(12.9965, 7.1653, 42.8091)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DB2 #87B22D
analogous
#2D45B2 #582DB2 #9A2DB2
triadic
#582DB2 #B2582D #2DB258
tetradic
#582DB2 #B22D45 #87B22D #2DB29A
square
#582DB2 #B22D45 #87B22D #2DB29A
split-complementary
#582DB2 #B29A2D #45B22D
monochromatic
#281450 #402181 #582DB2 #764BD1 #9B7CDE

Accessibility & contrast

On white

8.63
#582DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#582DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DB2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DB2#FFFFFF#000000##FFFFFF
##582DB21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#39516D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #582db2;
/* rgb */ color: rgb(88, 45, 178);
/* oklch */ color: oklch(43.8% 0.195 290.8);
Tailwind
colors: {
  custom: {
    50: '#906aca',
    500: '#582db2',
    950: '#000000',
  },
}
SCSS
$custom: #582db2;
$custom-light: #906aca;
$custom-dark: #000000;
JSON
{
  "hex": "#582db2",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 259.398,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.19493,
    "h": 290.8
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#582DB2
secondary
#ACC675
accent
#E345B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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