#581883#581883

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

Color values

HEX#581883
RGBrgb(88, 24, 131)
HSLhsl(276, 69%, 30%)
HSVhsv(276, 82%, 51%)
CMYKcmyk(32.8%, 81.7%, 0%, 48.6%)
CIE-LABlab(24.85, 47.06, -46.69)
CIE-LCHlch(24.85, 66.29, 315.22°)
OKLaboklab(37.35% 0.0997 -0.1329)
OKLCHoklch(37.35% 0.166 306.9)
XYZxyz(8.4470, 4.3668, 21.8662)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581883 #438318
analogous
#231883 #581883 #831878
triadic
#581883 #835818 #188358
tetradic
#581883 #832318 #438318 #187883
square
#581883 #832318 #438318 #187883
split-complementary
#581883 #788318 #188323
monochromatic
#13051C #350F4F #581883 #7B21B7 #9A3ADB

Accessibility & contrast

On white

11.21
#581883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#581883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581883
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581883#FFFFFF#000000##FFFFFF
##5818831.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581883;
/* rgb */ color: rgb(88, 24, 131);
/* oklch */ color: oklch(37.4% 0.166 306.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ea8',
    500: '#581883',
    950: '#000000',
  },
}
SCSS
$custom: #581883;
$custom-light: #8c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#581883",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 275.888,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.16613,
    "h": 306.9
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#581883
secondary
#70B740
accent
#EC3C83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581883

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

Preview Lab → · Contrast checker → · Palette generator →

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