#581689#581689

#581689 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.174 H 304.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#581689
RGBrgb(88, 22, 137)
HSLhsl(274, 72%, 31%)
HSVhsv(274, 84%, 54%)
CMYKcmyk(35.8%, 83.9%, 0%, 46.3%)
CIE-LABlab(25.12, 49.17, -50.01)
CIE-LCHlch(25.12, 70.13, 314.51°)
OKLaboklab(37.71% 0.0996 -0.1426)
OKLCHoklch(37.71% 0.174 304.9)
XYZxyz(8.8257, 4.4547, 24.0569)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581689 #478916
analogous
#1E1689 #581689 #891680
triadic
#581689 #895816 #168958
tetradic
#581689 #891E16 #478916 #168089
square
#581689 #891E16 #478916 #168089
split-complementary
#581689 #808916 #16891E
monochromatic
#140520 #360E54 #581689 #7A1EBE #993ADF

Accessibility & contrast

On white

11.11
#581689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#581689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581689
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581689#FFFFFF#000000##FFFFFF
##5816891.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581689;
/* rgb */ color: rgb(88, 22, 137);
/* oklch */ color: oklch(37.7% 0.174 304.9);
Tailwind
colors: {
  custom: {
    50: '#8d5dac',
    500: '#581689',
    950: '#000000',
  },
}
SCSS
$custom: #581689;
$custom-light: #8d5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#581689",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 274.435,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.17393,
    "h": 304.9
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#581689
secondary
#74BD3E
accent
#EF3986
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581689

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

Preview Lab → · Contrast checker → · Palette generator →

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