#391B76#391B76

#391B76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.144 H 291.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#391B76
RGBrgb(57, 27, 118)
HSLhsl(260, 63%, 28%)
HSVhsv(260, 77%, 46%)
CMYKcmyk(51.7%, 77.1%, 0%, 53.7%)
CIE-LABlab(19.89, 36.91, -46.71)
CIE-LCHlch(19.89, 59.53, 308.31°)
OKLaboklab(32.59% 0.0523 -0.1341)
OKLCHoklch(32.59% 0.144 291.3)
XYZxyz(5.3484, 2.9615, 17.4259)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B76 #58761B
analogous
#1B2A76 #391B76 #661B76
triadic
#391B76 #76391B #1B7639
tetradic
#391B76 #761B2A #58761B #1B7666
square
#391B76 #761B2A #58761B #1B7666
split-complementary
#391B76 #76661B #2A761B
monochromatic
#0C0619 #211044 #391B76 #5126A8 #6C3AD2

Accessibility & contrast

On white

13.19
#391B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#391B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B76
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B76#FFFFFF#000000##FFFFFF
##391B761.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#253447
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391b76;
/* rgb */ color: rgb(57, 27, 118);
/* oklch */ color: oklch(32.6% 0.144 291.3);
Tailwind
colors: {
  custom: {
    50: '#765b9e',
    500: '#391b76',
    950: '#000000',
  },
}
SCSS
$custom: #391b76;
$custom-light: #765b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391b76",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 259.78,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32589,
    "c": 0.14394,
    "h": 291.3
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#391B76
secondary
#88AA42
accent
#E642B0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391B76

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

Preview Lab → · Contrast checker → · Palette generator →

#391B76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva