#581678#581678

#581678 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.157 H 311.5°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#581678
RGBrgb(88, 22, 120)
HSLhsl(280, 69%, 28%)
HSVhsv(280, 82%, 47%)
CMYKcmyk(26.7%, 81.7%, 0%, 52.9%)
CIE-LABlab(23.69, 45.29, -41.61)
CIE-LCHlch(23.69, 61.50, 317.43°)
OKLaboklab(36.26% 0.1042 -0.1179)
OKLCHoklch(36.26% 0.157 311.5)
XYZxyz(7.7009, 4.0048, 18.1330)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581678 #367816
analogous
#271678 #581678 #781667
triadic
#581678 #785816 #167858
tetradic
#581678 #782716 #367816 #166778
square
#581678 #782716 #367816 #166778
split-complementary
#581678 #677816 #167827
monochromatic
#13051A #320D44 #581678 #7E1FAC #A22FD9

Accessibility & contrast

On white

11.66
#581678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581678
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581678#FFFFFF#000000##FFFFFF
##5816781.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003A76
Tritanopia (blue-blind)
#542E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581678;
/* rgb */ color: rgb(88, 22, 120);
/* oklch */ color: oklch(36.3% 0.157 311.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#581678',
    950: '#000000',
  },
}
SCSS
$custom: #581678;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#581678",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 280.408,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.15734,
    "h": 311.5
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#581678
secondary
#61AD3C
accent
#EC3C75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #581678

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

Preview Lab → · Contrast checker → · Palette generator →

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