#581F67#581F67

#581F67 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.129 H 318.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#581F67
RGBrgb(88, 31, 103)
HSLhsl(288, 54%, 26%)
HSVhsv(288, 70%, 40%)
CMYKcmyk(14.6%, 69.9%, 0%, 59.6%)
CIE-LABlab(23.78, 37.72, -30.49)
CIE-LCHlch(23.78, 48.51, 321.05°)
OKLaboklab(35.93% 0.0968 -0.0854)
OKLCHoklch(35.93% 0.129 318.6)
XYZxyz(6.9623, 4.0343, 13.2413)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F67 #2E671F
analogous
#341F67 #581F67 #671F52
triadic
#581F67 #67581F #1F6758
tetradic
#581F67 #67341F #2E671F #1F5267
square
#581F67 #67341F #2E671F #1F5267
split-complementary
#581F67 #52671F #1F6734
monochromatic
#140718 #301138 #581F67 #802D96 #A83CC4

Accessibility & contrast

On white

11.62
#581F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F67
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F67#FFFFFF#000000##FFFFFF
##581F671.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053569
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#582C40
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581f67;
/* rgb */ color: rgb(88, 31, 103);
/* oklch */ color: oklch(35.9% 0.129 318.6);
Tailwind
colors: {
  custom: {
    50: '#8a6093',
    500: '#581f67',
    950: '#000000',
  },
}
SCSS
$custom: #581f67;
$custom-light: #8a6093;
$custom-dark: #000000;
JSON
{
  "hex": "#581f67",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 287.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.12906,
    "h": 318.6
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#581F67
secondary
#589B46
accent
#DD4B69
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581F67

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

Preview Lab → · Contrast checker → · Palette generator →

#581F67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva