#582E95#582E95

#582E95 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.160 H 297.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#582E95
RGBrgb(88, 46, 149)
HSLhsl(264, 53%, 38%)
HSVhsv(264, 69%, 58%)
CMYKcmyk(40.9%, 69.1%, 0%, 41.6%)
CIE-LABlab(29.91, 41.46, -49.64)
CIE-LCHlch(29.91, 64.68, 309.87°)
OKLaboklab(41.4% 0.0742 -0.1417)
OKLCHoklch(41.4% 0.16 297.7)
XYZxyz(10.4249, 6.1985, 29.0751)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E95 #6B952E
analogous
#2E3795 #582E95 #8B2E95
triadic
#582E95 #95582E #2E9558
tetradic
#582E95 #952E37 #6B952E #2E958B
square
#582E95 #952E37 #6B952E #2E958B
split-complementary
#582E95 #958B2E #37952E
monochromatic
#211137 #3C2066 #582E95 #743DC3 #956CD2

Accessibility & contrast

On white

9.38
#582E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#582E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E95
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E95#FFFFFF#000000##FFFFFF
##582E951.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#49475D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582e95;
/* rgb */ color: rgb(88, 46, 149);
/* oklch */ color: oklch(41.4% 0.160 297.7);
Tailwind
colors: {
  custom: {
    50: '#8c6ab5',
    500: '#582e95',
    950: '#000000',
  },
}
SCSS
$custom: #582e95;
$custom-light: #8c6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#582e95",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 264.466,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.15993,
    "h": 297.7
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#582E95
secondary
#97B966
accent
#DC4CA1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #582E95

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

Preview Lab → · Contrast checker → · Palette generator →

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