#581865#581865

#581865 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.137 H 320.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#581865
RGBrgb(88, 24, 101)
HSLhsl(290, 62%, 25%)
HSVhsv(290, 76%, 40%)
CMYKcmyk(12.9%, 76.2%, 0%, 60.4%)
CIE-LABlab(22.54, 40.42, -31.18)
CIE-LCHlch(22.54, 51.04, 322.35°)
OKLaboklab(35% 0.1052 -0.0873)
OKLCHoklch(35% 0.137 320.3)
XYZxyz(6.6998, 3.6679, 12.6645)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581865 #256518
analogous
#321865 #581865 #65184C
triadic
#581865 #655818 #186558
tetradic
#581865 #653218 #256518 #184C65
square
#581865 #653218 #256518 #184C65
split-complementary
#581865 #4C6518 #186532
monochromatic
#160619 #2D0C34 #581865 #832496 #AE30C8

Accessibility & contrast

On white

12.11
#581865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581865
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581865#FFFFFF#000000##FFFFFF
##5818651.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#1F3863
Tritanopia (blue-blind)
#58273D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581865;
/* rgb */ color: rgb(88, 24, 101);
/* oklch */ color: oklch(35.0% 0.137 320.3);
Tailwind
colors: {
  custom: {
    50: '#8a5c91',
    500: '#581865',
    950: '#000000',
  },
}
SCSS
$custom: #581865;
$custom-light: #8a5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#581865",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 289.87,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34999,
    "c": 0.13668,
    "h": 320.3
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#581865
secondary
#4D9B3E
accent
#E5435E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581865

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

Preview Lab → · Contrast checker → · Palette generator →

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