#581F65#581F65

#581F65 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.8% C 0.127 H 319.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#581F65
RGBrgb(88, 31, 101)
HSLhsl(289, 53%, 26%)
HSVhsv(289, 69%, 40%)
CMYKcmyk(12.9%, 69.3%, 0%, 60.4%)
CIE-LABlab(23.65, 37.29, -29.40)
CIE-LCHlch(23.65, 47.48, 321.75°)
OKLaboklab(35.8% 0.0968 -0.0822)
OKLCHoklch(35.8% 0.127 319.7)
XYZxyz(6.8632, 3.9946, 12.7189)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F65 #2C651F
analogous
#351F65 #581F65 #651F4F
triadic
#581F65 #65581F #1F6558
tetradic
#581F65 #65351F #2C651F #1F4F65
square
#581F65 #65351F #2C651F #1F4F65
split-complementary
#581F65 #4F651F #1F6535
monochromatic
#140717 #2F1136 #581F65 #812D94 #AA3CC3

Accessibility & contrast

On white

11.67
#581F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F65
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F65#FFFFFF#000000##FFFFFF
##581F651.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093467
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#582B3F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581f65;
/* rgb */ color: rgb(88, 31, 101);
/* oklch */ color: oklch(35.8% 0.127 319.7);
Tailwind
colors: {
  custom: {
    50: '#8a5f91',
    500: '#581f65',
    950: '#000000',
  },
}
SCSS
$custom: #581f65;
$custom-light: #8a5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#581f65",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 288.857,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.127,
    "h": 319.7
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#581F65
secondary
#569946
accent
#DC4B66
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050D
muted
#7D797D

Preview Lab

Preview with #581F65

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

Preview Lab → · Contrast checker → · Palette generator →

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