#582E7B#582E7B

#582E7B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.128 H 306.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#582E7B
RGBrgb(88, 46, 123)
HSLhsl(273, 46%, 33%)
HSVhsv(273, 63%, 48%)
CMYKcmyk(28.5%, 62.6%, 0%, 51.8%)
CIE-LABlab(28.00, 34.59, -36.55)
CIE-LCHlch(28.00, 50.32, 313.42°)
OKLaboklab(39.42% 0.0765 -0.1032)
OKLCHoklch(39.42% 0.128 306.6)
XYZxyz(8.5759, 5.4588, 19.3369)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E7B #517B2E
analogous
#312E7B #582E7B #7B2E77
triadic
#582E7B #7B582E #2E7B58
tetradic
#582E7B #7B312E #517B2E #2E777B
square
#582E7B #7B312E #517B2E #2E777B
split-complementary
#582E7B #777B2E #2E7B31
monochromatic
#180D22 #381D4E #582E7B #783FA8 #9660C3

Accessibility & contrast

On white

10.04
#582E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#582E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E7B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E7B#FFFFFF#000000##FFFFFF
##582E7B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417D
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#523D50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582e7b;
/* rgb */ color: rgb(88, 46, 123);
/* oklch */ color: oklch(39.4% 0.128 306.6);
Tailwind
colors: {
  custom: {
    50: '#8a69a2',
    500: '#582e7b',
    950: '#000000',
  },
}
SCSS
$custom: #582e7b;
$custom-light: #8a69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#582e7b",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 272.727,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.12847,
    "h": 306.6
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#582E7B
secondary
#7FAA5B
accent
#D5538E
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #582E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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