#391D76#391D76

#391D76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.142 H 290.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#391D76
RGBrgb(57, 29, 118)
HSLhsl(259, 61%, 29%)
HSVhsv(259, 75%, 46%)
CMYKcmyk(51.7%, 75.4%, 0%, 53.7%)
CIE-LABlab(20.27, 35.84, -46.09)
CIE-LCHlch(20.27, 58.38, 307.87°)
OKLaboklab(32.86% 0.0505 -0.1323)
OKLCHoklch(32.86% 0.142 290.9)
XYZxyz(5.3958, 3.0564, 17.4417)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D76 #5A761D
analogous
#1D2E76 #391D76 #661D76
triadic
#391D76 #76391D #1D7639
tetradic
#391D76 #761D2E #5A761D #1D7666
square
#391D76 #761D2E #5A761D #1D7666
split-complementary
#391D76 #76661D #2E761D
monochromatic
#0C0619 #211145 #391D76 #5129A7 #6C3ED0

Accessibility & contrast

On white

13.03
#391D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#391D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D76
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D76#FFFFFF#000000##FFFFFF
##391D761.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#243547
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391d76;
/* rgb */ color: rgb(57, 29, 118);
/* oklch */ color: oklch(32.9% 0.142 290.9);
Tailwind
colors: {
  custom: {
    50: '#765c9e',
    500: '#391d76',
    950: '#000000',
  },
}
SCSS
$custom: #391d76;
$custom-light: #765c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391d76",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 258.876,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.14158,
    "h": 290.9
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#391D76
secondary
#8AAA45
accent
#E444B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391D76

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

Preview Lab → · Contrast checker → · Palette generator →

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