#582DBF#582DBF

#582DBF is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.210 H 288.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#582DBF
RGBrgb(88, 45, 191)
HSLhsl(258, 62%, 46%)
HSVhsv(258, 76%, 75%)
CMYKcmyk(53.9%, 76.4%, 0%, 25.1%)
CIE-LABlab(33.38, 53.50, -69.18)
CIE-LCHlch(33.38, 87.45, 307.71°)
OKLaboklab(44.97% 0.0658 -0.199)
OKLCHoklch(44.97% 0.21 288.3)
XYZxyz(14.3641, 7.7124, 50.0119)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DBF #94BF2D
analogous
#2D4BBF #582DBF #A12DBF
triadic
#582DBF #BF582D #2DBF58
tetradic
#582DBF #BF2D4B #94BF2D #2DBFA1
square
#582DBF #BF2D4B #94BF2D #2DBFA1
split-complementary
#582DBF #BFA12D #4BBF2D
monochromatic
#2A165C #41218D #582DBF #7A53D6 #A084E2

Accessibility & contrast

On white

8.26
#582DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#582DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DBF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DBF#FFFFFF#000000##FFFFFF
##582DBF1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#2E5675
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582dbf;
/* rgb */ color: rgb(88, 45, 191);
/* oklch */ color: oklch(45.0% 0.210 288.3);
Tailwind
colors: {
  custom: {
    50: '#926bd4',
    500: '#582dbf',
    950: '#000000',
  },
}
SCSS
$custom: #582dbf;
$custom-light: #926bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#582dbf",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 257.671,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.2096,
    "h": 288.3
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#582DBF
secondary
#B4CB7C
accent
#E543B5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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