#582BB1#582BB1

#582BB1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.196 H 291.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#582BB1
RGBrgb(88, 43, 177)
HSLhsl(260, 61%, 43%)
HSVhsv(260, 76%, 69%)
CMYKcmyk(50.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(31.75, 50.60, -63.55)
CIE-LCHlch(31.75, 81.24, 308.53°)
OKLaboklab(43.44% 0.0712 -0.1825)
OKLCHoklch(43.44% 0.196 291.3)
XYZxyz(12.8219, 6.9763, 42.2574)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BB1 #84B12B
analogous
#2B41B1 #582BB1 #9B2BB1
triadic
#582BB1 #B1582B #2BB158
tetradic
#582BB1 #B12B41 #84B12B #2BB19B
square
#582BB1 #B12B41 #84B12B #2BB19B
split-complementary
#582BB1 #B19B2B #41B12B
monochromatic
#27134F #401F80 #582BB1 #7647D2 #9A78DE

Accessibility & contrast

On white

8.77
#582BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#582BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BB1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BB1#FFFFFF#000000##FFFFFF
##582BB11.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#3A506C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582bb1;
/* rgb */ color: rgb(88, 43, 177);
/* oklch */ color: oklch(43.4% 0.196 291.3);
Tailwind
colors: {
  custom: {
    50: '#9069c9',
    500: '#582bb1',
    950: '#000000',
  },
}
SCSS
$custom: #582bb1;
$custom-light: #9069c9;
$custom-dark: #000000;
JSON
{
  "hex": "#582bb1",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 260.149,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.19588,
    "h": 291.3
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#582BB1
secondary
#AAC672
accent
#E444AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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