#581983#581983

#581983 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.165 H 306.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#581983
RGBrgb(88, 25, 131)
HSLhsl(276, 68%, 31%)
HSVhsv(276, 81%, 51%)
CMYKcmyk(32.8%, 80.9%, 0%, 48.6%)
CIE-LABlab(24.98, 46.68, -46.48)
CIE-LCHlch(24.98, 65.87, 315.12°)
OKLaboklab(37.45% 0.0989 -0.1322)
OKLCHoklch(37.45% 0.165 306.8)
XYZxyz(8.4680, 4.4088, 21.8732)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581983 #448319
analogous
#231983 #581983 #831979
triadic
#581983 #835819 #198358
tetradic
#581983 #832319 #448319 #197983
square
#581983 #832319 #448319 #197983
split-complementary
#581983 #798319 #198323
monochromatic
#13051C #350F50 #581983 #7B23B6 #9A3DDA

Accessibility & contrast

On white

11.16
#581983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581983
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581983#FFFFFF#000000##FFFFFF
##5819831.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#50344E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581983;
/* rgb */ color: rgb(88, 25, 131);
/* oklch */ color: oklch(37.4% 0.165 306.8);
Tailwind
colors: {
  custom: {
    50: '#8c5ea8',
    500: '#581983',
    950: '#000000',
  },
}
SCSS
$custom: #581983;
$custom-light: #8c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#581983",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 275.66,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37446,
    "c": 0.16513,
    "h": 306.8
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#581983
secondary
#71B741
accent
#EB3D84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581983

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

Preview Lab → · Contrast checker → · Palette generator →

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