#581874#581874

#581874 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.151 H 313.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#581874
RGBrgb(88, 24, 116)
HSLhsl(282, 66%, 27%)
HSVhsv(282, 79%, 45%)
CMYKcmyk(24.1%, 79.3%, 0%, 54.5%)
CIE-LABlab(23.64, 43.64, -39.13)
CIE-LCHlch(23.64, 58.62, 318.12°)
OKLaboklab(36.12% 0.1032 -0.1106)
OKLCHoklch(36.12% 0.151 313)
XYZxyz(7.5030, 3.9892, 16.8944)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581874 #347418
analogous
#2A1874 #581874 #741862
triadic
#581874 #745818 #187458
tetradic
#581874 #742A18 #347418 #186274
square
#581874 #742A18 #347418 #186274
split-complementary
#581874 #627418 #18742A
monochromatic
#130519 #320E41 #581874 #7E22A7 #A332D5

Accessibility & contrast

On white

11.68
#581874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581874
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581874#FFFFFF#000000##FFFFFF
##5818741.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#0D3A72
Tritanopia (blue-blind)
#552D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581874;
/* rgb */ color: rgb(88, 24, 116);
/* oklch */ color: oklch(36.1% 0.151 313.0);
Tailwind
colors: {
  custom: {
    50: '#8b5d9d',
    500: '#581874',
    950: '#000000',
  },
}
SCSS
$custom: #581874;
$custom-light: #8b5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581874",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 281.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36123,
    "c": 0.15129,
    "h": 313
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#581874
secondary
#5FA93F
accent
#E93F73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581874

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

Preview Lab → · Contrast checker → · Palette generator →

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