#391D79#391D79

#391D79 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.145 H 290.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#391D79
RGBrgb(57, 29, 121)
HSLhsl(258, 61%, 29%)
HSVhsv(258, 76%, 47%)
CMYKcmyk(52.9%, 76%, 0%, 52.5%)
CIE-LABlab(20.55, 36.74, -47.54)
CIE-LCHlch(20.55, 60.08, 307.69°)
OKLaboklab(33.15% 0.0497 -0.1365)
OKLCHoklch(33.15% 0.145 290)
XYZxyz(5.5769, 3.1288, 18.3955)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D79 #5D791D
analogous
#1D2F79 #391D79 #671D79
triadic
#391D79 #79391D #1D7939
tetradic
#391D79 #791D2F #5D791D #1D7967
square
#391D79 #791D2F #5D791D #1D7967
split-complementary
#391D79 #79671D #2F791D
monochromatic
#0C0619 #221148 #391D79 #5029AA #6C3FD1

Accessibility & contrast

On white

12.92
#391D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#391D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D79
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D79#FFFFFF#000000##FFFFFF
##391D791.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#223649
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391d79;
/* rgb */ color: rgb(57, 29, 121);
/* oklch */ color: oklch(33.1% 0.145 290.0);
Tailwind
colors: {
  custom: {
    50: '#775ca1',
    500: '#391d79',
    950: '#000000',
  },
}
SCSS
$custom: #391d79;
$custom-light: #775ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#391d79",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 258.261,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.14533,
    "h": 290
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#391D79
secondary
#8DAD45
accent
#E443B3
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391D79

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

Preview Lab → · Contrast checker → · Palette generator →

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