#581174#581174

#581174 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.158 H 313.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#581174
RGBrgb(88, 17, 116)
HSLhsl(283, 74%, 26%)
HSVhsv(283, 85%, 45%)
CMYKcmyk(24.1%, 85.3%, 0%, 54.5%)
CIE-LABlab(22.78, 46.12, -40.52)
CIE-LCHlch(22.78, 61.39, 318.70°)
OKLaboklab(35.52% 0.1092 -0.1147)
OKLCHoklch(35.52% 0.158 313.6)
XYZxyz(7.3768, 3.7368, 16.8523)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581174 #2D7411
analogous
#261174 #581174 #74115E
triadic
#581174 #745811 #117458
tetradic
#581174 #742611 #2D7411 #115E74
square
#581174 #742611 #2D7411 #115E74
split-complementary
#581174 #5E7411 #117426
monochromatic
#14041B #30093F #581174 #8019A9 #A921DE

Accessibility & contrast

On white

12.02
#581174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581174
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581174#FFFFFF#000000##FFFFFF
##5811741.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#033872
Tritanopia (blue-blind)
#552A44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581174;
/* rgb */ color: rgb(88, 17, 116);
/* oklch */ color: oklch(35.5% 0.158 313.6);
Tailwind
colors: {
  custom: {
    50: '#8b5a9d',
    500: '#581174',
    950: '#000000',
  },
}
SCSS
$custom: #581174;
$custom-light: #8b5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581174",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 283.03,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.15837,
    "h": 313.6
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#581174
secondary
#57AB36
accent
#F1376B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581174

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

Preview Lab → · Contrast checker → · Palette generator →

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