#391A71#391A71

#391A71 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.139 H 293.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#391A71
RGBrgb(57, 26, 113)
HSLhsl(261, 63%, 27%)
HSVhsv(261, 77%, 44%)
CMYKcmyk(49.6%, 77%, 0%, 55.7%)
CIE-LABlab(19.23, 35.96, -44.57)
CIE-LCHlch(19.23, 57.27, 308.90°)
OKLaboklab(31.98% 0.0546 -0.1278)
OKLCHoklch(31.98% 0.139 293.1)
XYZxyz(5.0365, 2.8007, 15.8948)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A71 #52711A
analogous
#1A2771 #391A71 #641A71
triadic
#391A71 #71391A #1A7139
tetradic
#391A71 #711A27 #52711A #1A7164
square
#391A71 #711A27 #52711A #1A7164
split-complementary
#391A71 #71641A #27711A
monochromatic
#0D0619 #200F3F #391A71 #5225A3 #6C35D0

Accessibility & contrast

On white

13.46
#391A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A71
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A71#FFFFFF#000000##FFFFFF
##391A711.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#283144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391a71;
/* rgb */ color: rgb(57, 26, 113);
/* oklch */ color: oklch(32.0% 0.139 293.1);
Tailwind
colors: {
  custom: {
    50: '#765a9b',
    500: '#391a71',
    950: '#000000',
  },
}
SCSS
$custom: #391a71;
$custom-light: #765a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391a71",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 261.379,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31976,
    "c": 0.13897,
    "h": 293.1
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#391A71
secondary
#82A641
accent
#E642AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A71

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

Preview Lab → · Contrast checker → · Palette generator →

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