#391C4D#391C4D

#391C4D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.090 H 309.2°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#391C4D
RGBrgb(57, 28, 77)
HSLhsl(276, 47%, 21%)
HSVhsv(276, 64%, 30%)
CMYKcmyk(26%, 63.6%, 0%, 69.8%)
CIE-LABlab(16.68, 24.55, -24.79)
CIE-LCHlch(16.68, 34.89, 314.73°)
OKLaboklab(29.22% 0.0569 -0.0697)
OKLCHoklch(29.22% 0.09 309.2)
XYZxyz(3.4419, 2.2362, 7.2701)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C4D #304D1C
analogous
#201C4D #391C4D #4D1C48
triadic
#391C4D #4D391C #1C4D39
tetradic
#391C4D #4D201C #304D1C #1C484D
square
#391C4D #4D201C #304D1C #1C484D
split-complementary
#391C4D #484D1C #1C4D20
monochromatic
#110816 #180C20 #391C4D #5A2C7A #7B3DA7

Accessibility & contrast

On white

14.51
#391C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C4D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C4D#FFFFFF#000000##FFFFFF
##391C4D1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284F
Deuteranopia (green-blind)
#162A4C
Tritanopia (blue-blind)
#362531
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391c4d;
/* rgb */ color: rgb(57, 28, 77);
/* oklch */ color: oklch(29.2% 0.090 309.2);
Tailwind
colors: {
  custom: {
    50: '#715a7f',
    500: '#391c4d',
    950: '#000000',
  },
}
SCSS
$custom: #391c4d;
$custom-light: #715a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#391c4d",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 275.51,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29217,
    "c": 0.09,
    "h": 309.2
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#391C4D
secondary
#5C8342
accent
#D65188
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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