#581374#581374

#581374 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.157 H 313.5°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#581374
RGBrgb(88, 19, 116)
HSLhsl(283, 72%, 26%)
HSVhsv(283, 84%, 45%)
CMYKcmyk(24.1%, 83.6%, 0%, 54.5%)
CIE-LABlab(23.00, 45.47, -40.16)
CIE-LCHlch(23.00, 60.66, 318.55°)
OKLaboklab(35.68% 0.1076 -0.1136)
OKLCHoklch(35.68% 0.157 313.5)
XYZxyz(7.4092, 3.8016, 16.8631)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581374 #2F7413
analogous
#271374 #581374 #741360
triadic
#581374 #745813 #137458
tetradic
#581374 #742713 #2F7413 #136074
square
#581374 #742713 #2F7413 #136074
split-complementary
#581374 #607413 #137427
monochromatic
#14041A #300A3F #581374 #801CA9 #A726DB

Accessibility & contrast

On white

11.93
#581374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581374
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581374#FFFFFF#000000##FFFFFF
##5813741.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581374;
/* rgb */ color: rgb(88, 19, 116);
/* oklch */ color: oklch(35.7% 0.157 313.5);
Tailwind
colors: {
  custom: {
    50: '#8b5b9d',
    500: '#581374',
    950: '#000000',
  },
}
SCSS
$custom: #581374;
$custom-light: #8b5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581374",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 282.68,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.15651,
    "h": 313.5
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#581374
secondary
#59AA38
accent
#EF396E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581374

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

Preview Lab → · Contrast checker → · Palette generator →

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