#581690#581690

#581690 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.181 H 302.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#581690
RGBrgb(88, 22, 144)
HSLhsl(272, 73%, 33%)
HSVhsv(272, 85%, 56%)
CMYKcmyk(38.9%, 84.7%, 0%, 43.5%)
CIE-LABlab(25.75, 50.81, -53.34)
CIE-LCHlch(25.75, 73.67, 313.61°)
OKLaboklab(38.33% 0.0973 -0.1524)
OKLCHoklch(38.33% 0.181 302.6)
XYZxyz(9.3442, 4.6621, 26.7877)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581690 #4E9016
analogous
#1B1690 #581690 #90168B
triadic
#581690 #905816 #169058
tetradic
#581690 #901B16 #4E9016 #168B90
square
#581690 #901B16 #4E9016 #168B90
split-complementary
#581690 #8B9016 #16901B
monochromatic
#170626 #380E5B #581690 #781EC5 #973FE2

Accessibility & contrast

On white

10.87
#581690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#581690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581690
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581690#FFFFFF#000000##FFFFFF
##5816901.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#4C3955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581690;
/* rgb */ color: rgb(88, 22, 144);
/* oklch */ color: oklch(38.3% 0.181 302.6);
Tailwind
colors: {
  custom: {
    50: '#8d5eb1',
    500: '#581690',
    950: '#000000',
  },
}
SCSS
$custom: #581690;
$custom-light: #8d5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#581690",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 272.459,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.1808,
    "h": 302.6
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#581690
secondary
#7CC240
accent
#F0388C
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581690

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

Preview Lab → · Contrast checker → · Palette generator →

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