#582DBC#582DBC

#582DBC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.206 H 288.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#582DBC
RGBrgb(88, 45, 188)
HSLhsl(258, 61%, 46%)
HSVhsv(258, 76%, 74%)
CMYKcmyk(53.2%, 76.1%, 0%, 26.3%)
CIE-LABlab(33.10, 52.67, -67.87)
CIE-LCHlch(33.10, 85.91, 307.81°)
OKLaboklab(44.69% 0.0666 -0.1952)
OKLCHoklch(44.69% 0.206 288.9)
XYZxyz(14.0373, 7.5816, 48.2910)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DBC #91BC2D
analogous
#2D49BC #582DBC #9F2DBC
triadic
#582DBC #BC582D #2DBC58
tetradic
#582DBC #BC2D49 #91BC2D #2DBC9F
square
#582DBC #BC2D49 #91BC2D #2DBC9F
split-complementary
#582DBC #BC9F2D #49BC2D
monochromatic
#2A1559 #41218B #582DBC #7951D5 #9F82E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582DBC#FFFFFF#000000##FFFFFF
##582DBC1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#315573
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582dbc;
/* rgb */ color: rgb(88, 45, 188);
/* oklch */ color: oklch(44.7% 0.206 288.9);
Tailwind
colors: {
  custom: {
    50: '#926bd1',
    500: '#582dbc',
    950: '#000000',
  },
}
SCSS
$custom: #582dbc;
$custom-light: #926bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#582dbc",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 258.042,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44691,
    "c": 0.20623,
    "h": 288.9
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#582DBC
secondary
#B2CA7B
accent
#E443B4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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