#581E6F#581E6F

#581E6F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.139 H 314.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#581E6F
RGBrgb(88, 30, 111)
HSLhsl(283, 57%, 28%)
HSVhsv(283, 73%, 44%)
CMYKcmyk(20.7%, 73%, 0%, 56.5%)
CIE-LABlab(24.17, 39.97, -35.07)
CIE-LCHlch(24.17, 53.17, 318.74°)
OKLaboklab(36.38% 0.0975 -0.0987)
OKLCHoklch(36.38% 0.139 314.6)
XYZxyz(7.3575, 4.1512, 15.4495)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E6F #356F1E
analogous
#2F1E6F #581E6F #6F1E5D
triadic
#581E6F #6F581E #1E6F58
tetradic
#581E6F #6F2F1E #356F1E #1E5D6F
square
#581E6F #6F2F1E #356F1E #1E5D6F
split-complementary
#581E6F #5D6F1E #1E6F2F
monochromatic
#130718 #32113F #581E6F #7E2B9F #A23DCB

Accessibility & contrast

On white

11.47
#581E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E6F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E6F#FFFFFF#000000##FFFFFF
##581E6F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#1B3B6D
Tritanopia (blue-blind)
#562F44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581e6f;
/* rgb */ color: rgb(88, 30, 111);
/* oklch */ color: oklch(36.4% 0.139 314.6);
Tailwind
colors: {
  custom: {
    50: '#8a5f99',
    500: '#581e6f',
    950: '#000000',
  },
}
SCSS
$custom: #581e6f;
$custom-light: #8a5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#581e6f",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 282.963,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36381,
    "c": 0.13877,
    "h": 314.6
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#581E6F
secondary
#60A346
accent
#E14773
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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