#581968#581968

#581968 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.138 H 318.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#581968
RGBrgb(88, 25, 104)
HSLhsl(288, 61%, 25%)
HSVhsv(288, 76%, 41%)
CMYKcmyk(15.4%, 76%, 0%, 59.2%)
CIE-LABlab(22.90, 40.63, -32.57)
CIE-LCHlch(22.90, 52.07, 321.28°)
OKLaboklab(35.32% 0.1038 -0.0914)
OKLCHoklch(35.32% 0.138 318.6)
XYZxyz(6.8705, 3.7698, 13.4598)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581968 #296819
analogous
#301968 #581968 #681950
triadic
#581968 #685819 #196858
tetradic
#581968 #683019 #296819 #195068
square
#581968 #683019 #296819 #195068
split-complementary
#581968 #506819 #196830
monochromatic
#150619 #2E0D37 #581968 #822599 #AB31CB

Accessibility & contrast

On white

11.97
#581968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581968
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581968#FFFFFF#000000##FFFFFF
##5819681.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#1E3966
Tritanopia (blue-blind)
#58293F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581968;
/* rgb */ color: rgb(88, 25, 104);
/* oklch */ color: oklch(35.3% 0.138 318.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d94',
    500: '#581968',
    950: '#000000',
  },
}
SCSS
$custom: #581968;
$custom-light: #8a5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#581968",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 287.848,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.13831,
    "h": 318.6
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#581968
secondary
#529E3F
accent
#E44364
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581968

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

Preview Lab → · Contrast checker → · Palette generator →

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