#581E90#581E90

#581E90 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.173 H 301.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#581E90
RGBrgb(88, 30, 144)
HSLhsl(271, 66%, 34%)
HSVhsv(271, 79%, 56%)
CMYKcmyk(38.9%, 79.2%, 0%, 43.5%)
CIE-LABlab(26.78, 47.81, -51.65)
CIE-LCHlch(26.78, 70.38, 312.79°)
OKLaboklab(39.05% 0.0911 -0.1475)
OKLCHoklch(39.05% 0.173 301.7)
XYZxyz(9.5216, 5.0168, 26.8469)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E90 #56901E
analogous
#1F1E90 #581E90 #901E8F
triadic
#581E90 #90581E #1E9058
tetradic
#581E90 #901F1E #56901E #1E8F90
square
#581E90 #901F1E #56901E #1E8F90
split-complementary
#581E90 #8F901E #1E901F
monochromatic
#1A092B #39135D #581E90 #7729C3 #954EDA

Accessibility & contrast

On white

10.48
#581E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#581E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E90
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E90#FFFFFF#000000##FFFFFF
##581E901.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#4C3C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #581e90;
/* rgb */ color: rgb(88, 30, 144);
/* oklch */ color: oklch(39.1% 0.173 301.7);
Tailwind
colors: {
  custom: {
    50: '#8d61b1',
    500: '#581e90',
    950: '#000000',
  },
}
SCSS
$custom: #581e90;
$custom-light: #8d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#581e90",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 270.526,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.17333,
    "h": 301.7
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#581E90
secondary
#84BD4D
accent
#E83F92
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #581E90

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

Preview Lab → · Contrast checker → · Palette generator →

#581E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva