#581474#581474

#581474 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.156 H 313.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#581474
RGBrgb(88, 20, 116)
HSLhsl(283, 71%, 27%)
HSVhsv(283, 83%, 45%)
CMYKcmyk(24.1%, 82.8%, 0%, 54.5%)
CIE-LABlab(23.12, 45.13, -39.96)
CIE-LCHlch(23.12, 60.28, 318.47°)
OKLaboklab(35.76% 0.1068 -0.1131)
OKLCHoklch(35.76% 0.156 313.4)
XYZxyz(7.4265, 3.8362, 16.8689)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581474 #307414
analogous
#281474 #581474 #741460
triadic
#581474 #745814 #147458
tetradic
#581474 #742814 #307414 #146074
square
#581474 #742814 #307414 #146074
split-complementary
#581474 #607414 #147428
monochromatic
#14051A #300B40 #581474 #801DA8 #A628DA

Accessibility & contrast

On white

11.88
#581474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581474
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581474#FFFFFF#000000##FFFFFF
##5814741.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#073972
Tritanopia (blue-blind)
#552B44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581474;
/* rgb */ color: rgb(88, 20, 116);
/* oklch */ color: oklch(35.8% 0.156 313.4);
Tailwind
colors: {
  custom: {
    50: '#8b5b9d',
    500: '#581474',
    950: '#000000',
  },
}
SCSS
$custom: #581474;
$custom-light: #8b5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581474",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 282.5,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35762,
    "c": 0.15553,
    "h": 313.4
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#581474
secondary
#5AAA3A
accent
#ED3A6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581474

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

Preview Lab → · Contrast checker → · Palette generator →

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