#391D4C#391D4C

#391D4C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.3% C 0.087 H 309.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#391D4C
RGBrgb(57, 29, 76)
HSLhsl(276, 45%, 21%)
HSVhsv(276, 62%, 30%)
CMYKcmyk(25%, 61.8%, 0%, 70.2%)
CIE-LABlab(16.85, 23.67, -23.84)
CIE-LCHlch(16.85, 33.59, 314.78°)
OKLaboklab(29.32% 0.0553 -0.067)
OKLCHoklch(29.32% 0.087 309.6)
XYZxyz(3.4310, 2.2704, 7.0936)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D4C #304C1D
analogous
#211D4C #391D4C #4C1D47
triadic
#391D4C #4C391D #1D4C39
tetradic
#391D4C #4C211D #304C1D #1D474C
square
#391D4C #4C211D #304C1D #1D474C
split-complementary
#391D4C #474C1D #1D4C21
monochromatic
#110816 #180C20 #391D4C #5A2E78 #7B3FA5

Accessibility & contrast

On white

14.44
#391D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D4C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D4C#FFFFFF#000000##FFFFFF
##391D4C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E284E
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#362531
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391d4c;
/* rgb */ color: rgb(57, 29, 76);
/* oklch */ color: oklch(29.3% 0.087 309.6);
Tailwind
colors: {
  custom: {
    50: '#715a7e',
    500: '#391d4c',
    950: '#000000',
  },
}
SCSS
$custom: #391d4c;
$custom-light: #715a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#391d4c",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 275.745,
    "s": 44.762,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29317,
    "c": 0.08686,
    "h": 309.6
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#391D4C
secondary
#5C8144
accent
#D45388
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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