#391C4C#391C4C

#391C4C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.089 H 309.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#391C4C
RGBrgb(57, 28, 76)
HSLhsl(276, 46%, 20%)
HSVhsv(276, 63%, 30%)
CMYKcmyk(25%, 63.2%, 0%, 70.2%)
CIE-LABlab(16.61, 24.29, -24.22)
CIE-LCHlch(16.61, 34.30, 315.08°)
OKLaboklab(29.15% 0.0569 -0.068)
OKLCHoklch(29.15% 0.089 309.9)
XYZxyz(3.4069, 2.2222, 7.0855)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C4C #2F4C1C
analogous
#211C4C #391C4C #4C1C47
triadic
#391C4C #4C391C #1C4C39
tetradic
#391C4C #4C211C #2F4C1C #1C474C
square
#391C4C #4C211C #2F4C1C #1C474C
split-complementary
#391C4C #474C1C #1C4C21
monochromatic
#110816 #170C1F #391C4C #5B2C79 #7C3DA5

Accessibility & contrast

On white

14.54
#391C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C4C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C4C#FFFFFF#000000##FFFFFF
##391C4C1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284E
Deuteranopia (green-blind)
#172A4B
Tritanopia (blue-blind)
#372531
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391c4c;
/* rgb */ color: rgb(57, 28, 76);
/* oklch */ color: oklch(29.1% 0.089 309.9);
Tailwind
colors: {
  custom: {
    50: '#715a7e',
    500: '#391c4c',
    950: '#000000',
  },
}
SCSS
$custom: #391c4c;
$custom-light: #715a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#391c4c",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 276.25,
    "s": 46.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29145,
    "c": 0.08868,
    "h": 309.9
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#391C4C
secondary
#5B8242
accent
#D65286
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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