#581358#581358

#581358 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.131 H 328.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#581358
RGBrgb(88, 19, 88)
HSLhsl(300, 64%, 21%)
HSVhsv(300, 78%, 35%)
CMYKcmyk(0%, 78.4%, 0%, 65.5%)
CIE-LABlab(21.00, 39.80, -25.03)
CIE-LCHlch(21.00, 47.02, 327.83°)
OKLaboklab(33.62% 0.1111 -0.0694)
OKLCHoklch(33.62% 0.131 328)
XYZxyz(6.0188, 3.2455, 9.5401)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581358 #135813
analogous
#351358 #581358 #581335
triadic
#581358 #585813 #135858
tetradic
#581358 #583513 #135813 #133558
square
#581358 #583513 #135813 #133558
split-complementary
#581358 #355813 #135835
monochromatic
#190519 #260826 #581358 #8A1E8A #BD29BD

Accessibility & contrast

On white

12.73
#581358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#581358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581358
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581358#FFFFFF#000000##FFFFFF
##5813581.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5A
Deuteranopia (green-blind)
#263656
Tritanopia (blue-blind)
#5B1E34
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581358;
/* rgb */ color: rgb(88, 19, 88);
/* oklch */ color: oklch(33.6% 0.131 328.0);
Tailwind
colors: {
  custom: {
    50: '#8a5987',
    500: '#581358',
    950: '#000000',
  },
}
SCSS
$custom: #581358;
$custom-light: #8a5987;
$custom-dark: #000000;
JSON
{
  "hex": "#581358",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 300,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.13094,
    "h": 328
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#581358
secondary
#379037
accent
#E74040
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581358

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

Preview Lab → · Contrast checker → · Palette generator →

#581358 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva