#391A72#391A72

#391A72 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 292.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#391A72
RGBrgb(57, 26, 114)
HSLhsl(261, 63%, 27%)
HSVhsv(261, 77%, 45%)
CMYKcmyk(50%, 77.2%, 0%, 55.3%)
CIE-LABlab(19.32, 36.25, -45.06)
CIE-LCHlch(19.32, 57.83, 308.82°)
OKLaboklab(32.07% 0.0543 -0.1292)
OKLCHoklch(32.07% 0.14 292.8)
XYZxyz(5.0932, 2.8234, 16.1929)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A72 #53721A
analogous
#1A2772 #391A72 #651A72
triadic
#391A72 #72391A #1A7239
tetradic
#391A72 #721A27 #53721A #1A7265
square
#391A72 #721A27 #53721A #1A7265
split-complementary
#391A72 #72651A #27721A
monochromatic
#0C0619 #200F40 #391A72 #5225A4 #6C35D1

Accessibility & contrast

On white

13.42
#391A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A72
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A72#FFFFFF#000000##FFFFFF
##391A721.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#273144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391a72;
/* rgb */ color: rgb(57, 26, 114);
/* oklch */ color: oklch(32.1% 0.140 292.8);
Tailwind
colors: {
  custom: {
    50: '#765a9b',
    500: '#391a72',
    950: '#000000',
  },
}
SCSS
$custom: #391a72;
$custom-light: #765a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391a72",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 261.136,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32072,
    "c": 0.1402,
    "h": 292.8
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#391A72
secondary
#83A741
accent
#E642AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A72

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

Preview Lab → · Contrast checker → · Palette generator →

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