#581765#581765

#581765 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.138 H 320.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#581765
RGBrgb(88, 23, 101)
HSLhsl(290, 63%, 24%)
HSVhsv(290, 77%, 40%)
CMYKcmyk(12.9%, 77.2%, 0%, 60.4%)
CIE-LABlab(22.40, 40.82, -31.40)
CIE-LCHlch(22.40, 51.50, 322.43°)
OKLaboklab(34.9% 0.1062 -0.088)
OKLCHoklch(34.9% 0.138 320.4)
XYZxyz(6.6796, 3.6274, 12.6577)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581765 #246517
analogous
#311765 #581765 #65174B
triadic
#581765 #655817 #176558
tetradic
#581765 #653117 #246517 #174B65
square
#581765 #653117 #246517 #174B65
split-complementary
#581765 #4B6517 #176531
monochromatic
#160619 #2D0C33 #581765 #832297 #AF2EC9

Accessibility & contrast

On white

12.17
#581765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581765
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581765#FFFFFF#000000##FFFFFF
##5817651.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581765;
/* rgb */ color: rgb(88, 23, 101);
/* oklch */ color: oklch(34.9% 0.138 320.4);
Tailwind
colors: {
  custom: {
    50: '#8a5c91',
    500: '#581765',
    950: '#000000',
  },
}
SCSS
$custom: #581765;
$custom-light: #8a5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#581765",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 290,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.13793,
    "h": 320.4
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#581765
secondary
#4C9B3C
accent
#E6425D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581765

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

Preview Lab → · Contrast checker → · Palette generator →

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