#391E4D#391E4D

#391E4D is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.086 H 308.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#391E4D
RGBrgb(57, 30, 77)
HSLhsl(274, 44%, 21%)
HSVhsv(274, 61%, 30%)
CMYKcmyk(26%, 61%, 0%, 69.8%)
CIE-LABlab(17.15, 23.31, -24.04)
CIE-LCHlch(17.15, 33.48, 314.11°)
OKLaboklab(29.56% 0.0538 -0.0675)
OKLCHoklch(29.56% 0.086 308.5)
XYZxyz(3.4909, 2.3343, 7.2864)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E4D #324D1E
analogous
#211E4D #391E4D #4D1E49
triadic
#391E4D #4D391E #1E4D39
tetradic
#391E4D #4D211E #324D1E #1E494D
square
#391E4D #4D211E #324D1E #1E494D
split-complementary
#391E4D #494D1E #1E4D21
monochromatic
#100916 #180D21 #391E4D #5A2F79 #7A40A5

Accessibility & contrast

On white

14.32
#391E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E4D
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E4D#FFFFFF#000000##FFFFFF
##391E4D1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294F
Deuteranopia (green-blind)
#182B4C
Tritanopia (blue-blind)
#362632
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391e4d;
/* rgb */ color: rgb(57, 30, 77);
/* oklch */ color: oklch(29.6% 0.086 308.5);
Tailwind
colors: {
  custom: {
    50: '#715b7f',
    500: '#391e4d',
    950: '#000000',
  },
}
SCSS
$custom: #391e4d;
$custom-light: #715b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#391e4d",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 274.468,
    "s": 43.925,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.08636,
    "h": 308.5
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#391E4D
secondary
#5F8245
accent
#D4548A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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