#581699#581699

#581699 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.2% C 0.190 H 299.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#581699
RGBrgb(88, 22, 153)
HSLhsl(270, 75%, 34%)
HSVhsv(270, 86%, 60%)
CMYKcmyk(42.5%, 85.6%, 0%, 40%)
CIE-LABlab(26.59, 52.95, -57.52)
CIE-LCHlch(26.59, 78.18, 312.63°)
OKLaboklab(39.17% 0.0942 -0.1646)
OKLCHoklch(39.17% 0.19 299.8)
XYZxyz(10.0597, 4.9483, 30.5559)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581699 #579916
analogous
#171699 #581699 #991699
triadic
#581699 #995816 #169958
tetradic
#581699 #991716 #579916 #169999
square
#581699 #991716 #579916 #169999
split-complementary
#581699 #999916 #169917
monochromatic
#1A072E #390E63 #581699 #771ECF #9545E4

Accessibility & contrast

On white

10.55
#581699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#581699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581699
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581699#FFFFFF#000000##FFFFFF
##5816991.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#483D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #581699;
/* rgb */ color: rgb(88, 22, 153);
/* oklch */ color: oklch(39.2% 0.190 299.8);
Tailwind
colors: {
  custom: {
    50: '#8e5eb8',
    500: '#581699',
    950: '#000000',
  },
}
SCSS
$custom: #581699;
$custom-light: #8e5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#581699",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 270.229,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.18965,
    "h": 299.8
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#581699
secondary
#85C546
accent
#F13693
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581699

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

Preview Lab → · Contrast checker → · Palette generator →

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