#581790#581790

#581790 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.180 H 302.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#581790
RGBrgb(88, 23, 144)
HSLhsl(272, 72%, 33%)
HSVhsv(272, 84%, 56%)
CMYKcmyk(38.9%, 84%, 0%, 43.5%)
CIE-LABlab(25.87, 50.47, -53.15)
CIE-LCHlch(25.87, 73.29, 313.52°)
OKLaboklab(38.41% 0.0966 -0.1518)
OKLCHoklch(38.41% 0.18 302.5)
XYZxyz(9.3637, 4.7011, 26.7942)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581790 #4F9017
analogous
#1B1790 #581790 #90178C
triadic
#581790 #905817 #179058
tetradic
#581790 #901B17 #4F9017 #178C90
square
#581790 #901B17 #4F9017 #178C90
split-complementary
#581790 #8C9017 #17901B
monochromatic
#180626 #380F5B #581790 #781FC5 #9741E1

Accessibility & contrast

On white

10.82
#581790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#581790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581790
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581790#FFFFFF#000000##FFFFFF
##5817901.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.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: #581790;
/* rgb */ color: rgb(88, 23, 144);
/* oklch */ color: oklch(38.4% 0.180 302.5);
Tailwind
colors: {
  custom: {
    50: '#8d5eb1',
    500: '#581790',
    950: '#000000',
  },
}
SCSS
$custom: #581790;
$custom-light: #8d5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#581790",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 272.231,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.17996,
    "h": 302.5
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#581790
secondary
#7DC142
accent
#EF398D
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581790

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

Preview Lab → · Contrast checker → · Palette generator →

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