#581E9E#581E9E

#581E9E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.188 H 297.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#581E9E
RGBrgb(88, 30, 158)
HSLhsl(267, 68%, 37%)
HSVhsv(267, 81%, 62%)
CMYKcmyk(44.3%, 81%, 0%, 38%)
CIE-LABlab(28.04, 51.29, -58.19)
CIE-LCHlch(28.04, 77.57, 311.40°)
OKLaboklab(40.31% 0.0869 -0.1667)
OKLCHoklch(40.31% 0.188 297.5)
XYZxyz(10.6587, 5.4717, 32.8357)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E9E #649E1E
analogous
#1E249E #581E9E #981E9E
triadic
#581E9E #9E581E #1E9E58
tetradic
#581E9E #9E1E24 #649E1E #1E9E98
square
#581E9E #9E1E24 #649E1E #1E9E98
split-complementary
#581E9E #9E981E #249E1E
monochromatic
#1F0A37 #3B146B #581E9E #7528D1 #9557DF

Accessibility & contrast

On white

10.03
#581E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#581E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E9E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E9E#FFFFFF#000000##FFFFFF
##581E9E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#46425F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #581e9e;
/* rgb */ color: rgb(88, 30, 158);
/* oklch */ color: oklch(40.3% 0.188 297.5);
Tailwind
colors: {
  custom: {
    50: '#8f62bc',
    500: '#581e9e',
    950: '#000000',
  },
}
SCSS
$custom: #581e9e;
$custom-light: #8f62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#581e9e",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 267.188,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.18797,
    "h": 297.5
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#581E9E
secondary
#91C355
accent
#EB3D9C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #581E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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