#581989#581989

#581989 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.171 H 304.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#581989
RGBrgb(88, 25, 137)
HSLhsl(274, 69%, 32%)
HSVhsv(274, 82%, 54%)
CMYKcmyk(35.8%, 81.8%, 0%, 46.3%)
CIE-LABlab(25.49, 48.09, -49.41)
CIE-LCHlch(25.49, 68.95, 314.23°)
OKLaboklab(37.96% 0.0973 -0.1408)
OKLCHoklch(37.96% 0.171 304.6)
XYZxyz(8.8865, 4.5762, 24.0772)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581989 #4A8919
analogous
#201989 #581989 #891982
triadic
#581989 #895819 #198958
tetradic
#581989 #892019 #4A8919 #198289
square
#581989 #892019 #4A8919 #198289
split-complementary
#581989 #828919 #198920
monochromatic
#160621 #371055 #581989 #7922BD #9840DC

Accessibility & contrast

On white

10.96
#581989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#581989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581989
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581989#FFFFFF#000000##FFFFFF
##5819891.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4E3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581989;
/* rgb */ color: rgb(88, 25, 137);
/* oklch */ color: oklch(38.0% 0.171 304.6);
Tailwind
colors: {
  custom: {
    50: '#8c5eac',
    500: '#581989',
    950: '#000000',
  },
}
SCSS
$custom: #581989;
$custom-light: #8c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#581989",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 273.75,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37963,
    "c": 0.17115,
    "h": 304.6
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#581989
secondary
#77BC41
accent
#EC3C89
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581989

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

Preview Lab → · Contrast checker → · Palette generator →

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