#582E8F#582E8F

#582E8F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.153 H 299.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#582E8F
RGBrgb(88, 46, 143)
HSLhsl(266, 51%, 37%)
HSVhsv(266, 68%, 56%)
CMYKcmyk(38.5%, 67.8%, 0%, 43.9%)
CIE-LABlab(29.44, 39.84, -46.70)
CIE-LCHlch(29.44, 61.39, 310.47°)
OKLaboklab(40.91% 0.0751 -0.133)
OKLCHoklch(40.91% 0.153 299.4)
XYZxyz(9.9582, 6.0118, 26.6170)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E8F #658F2E
analogous
#2E358F #582E8F #892E8F
triadic
#582E8F #8F582E #2E8F58
tetradic
#582E8F #8F2E35 #658F2E #2E8F89
square
#582E8F #8F2E35 #658F2E #2E8F89
split-complementary
#582E8F #8F892E #358F2E
monochromatic
#1F1032 #3C1F61 #582E8F #743DBD #9569CF

Accessibility & contrast

On white

9.54
#582E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#582E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E8F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E8F#FFFFFF#000000##FFFFFF
##582E8F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#4C445A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582e8f;
/* rgb */ color: rgb(88, 46, 143);
/* oklch */ color: oklch(40.9% 0.153 299.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ab0',
    500: '#582e8f',
    950: '#000000',
  },
}
SCSS
$custom: #582e8f;
$custom-light: #8c6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#582e8f",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 265.979,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.15275,
    "h": 299.4
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#582E8F
secondary
#92B663
accent
#DB4D9D
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #582E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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