#582E9D#582E9D

#582E9D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.169 H 295.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#582E9D
RGBrgb(88, 46, 157)
HSLhsl(263, 55%, 40%)
HSVhsv(263, 71%, 62%)
CMYKcmyk(43.9%, 70.7%, 0%, 38.4%)
CIE-LABlab(30.55, 43.64, -53.48)
CIE-LCHlch(30.55, 69.02, 309.22°)
OKLaboklab(42.06% 0.0729 -0.1529)
OKLCHoklch(42.06% 0.169 295.5)
XYZxyz(11.0857, 6.4628, 32.5551)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E9D #739D2E
analogous
#2E3B9D #582E9D #902E9D
triadic
#582E9D #9D582E #2E9D58
tetradic
#582E9D #9D2E3B #739D2E #2E9D90
square
#582E9D #9D2E3B #739D2E #2E9D90
split-complementary
#582E9D #9D902E #3B9D2E
monochromatic
#23123E #3D206E #582E9D #7441C7 #9670D5

Accessibility & contrast

On white

9.16
#582E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#582E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E9D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E9D#FFFFFF#000000##FFFFFF
##582E9D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#454962
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582e9d;
/* rgb */ color: rgb(88, 46, 157);
/* oklch */ color: oklch(42.1% 0.169 295.5);
Tailwind
colors: {
  custom: {
    50: '#8d6abb',
    500: '#582e9d',
    950: '#000000',
  },
}
SCSS
$custom: #582e9d;
$custom-light: #8d6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#582e9d",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 262.703,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.16943,
    "h": 295.5
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#582E9D
secondary
#9DBD6A
accent
#DE4AA6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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