#581368#581368

#581368 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.145 H 319.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#581368
RGBrgb(88, 19, 104)
HSLhsl(289, 69%, 24%)
HSVhsv(289, 82%, 41%)
CMYKcmyk(15.4%, 81.7%, 0%, 59.2%)
CIE-LABlab(22.09, 42.94, -33.86)
CIE-LCHlch(22.09, 54.68, 321.74°)
OKLaboklab(34.75% 0.1099 -0.0951)
OKLCHoklch(34.75% 0.145 319.1)
XYZxyz(6.7557, 3.5403, 13.4215)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581368 #236813
analogous
#2E1368 #581368 #68134E
triadic
#581368 #685813 #136858
tetradic
#581368 #682E13 #236813 #134E68
square
#581368 #682E13 #236813 #134E68
split-complementary
#581368 #4E6813 #13682E
monochromatic
#16051A #2C0A34 #581368 #841C9C #B026CF

Accessibility & contrast

On white

12.30
#581368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#581368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581368
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581368#FFFFFF#000000##FFFFFF
##5813681.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#193766
Tritanopia (blue-blind)
#58253D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581368;
/* rgb */ color: rgb(88, 19, 104);
/* oklch */ color: oklch(34.7% 0.145 319.1);
Tailwind
colors: {
  custom: {
    50: '#8a5a94',
    500: '#581368',
    950: '#000000',
  },
}
SCSS
$custom: #581368;
$custom-light: #8a5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#581368",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 288.706,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.14533,
    "h": 319.1
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#581368
secondary
#4B9F37
accent
#EC3C5D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581368

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

Preview Lab → · Contrast checker → · Palette generator →

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