#391D4B#391D4B

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

Color values

HEX#391D4B
RGBrgb(57, 29, 75)
HSLhsl(277, 44%, 20%)
HSVhsv(277, 61%, 29%)
CMYKcmyk(24%, 61.3%, 0%, 70.6%)
CIE-LABlab(16.78, 23.39, -23.26)
CIE-LCHlch(16.78, 32.99, 315.16°)
OKLaboklab(29.25% 0.0553 -0.0653)
OKLCHoklch(29.25% 0.086 310.3)
XYZxyz(3.3965, 2.2567, 6.9119)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D4B #2F4B1D
analogous
#221D4B #391D4B #4B1D46
triadic
#391D4B #4B391D #1D4B39
tetradic
#391D4B #4B221D #2F4B1D #1D464B
square
#391D4B #4B221D #2F4B1D #1D464B
split-complementary
#391D4B #464B1D #1D4B22
monochromatic
#110916 #170C1F #391D4B #5B2E77 #7C3FA3

Accessibility & contrast

On white

14.47
#391D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391D4B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D4B#FFFFFF#000000##FFFFFF
##391D4B1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F284D
Deuteranopia (green-blind)
#192A4A
Tritanopia (blue-blind)
#372530
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391d4b;
/* rgb */ color: rgb(57, 29, 75);
/* oklch */ color: oklch(29.2% 0.086 310.3);
Tailwind
colors: {
  custom: {
    50: '#715a7d',
    500: '#391d4b',
    950: '#000000',
  },
}
SCSS
$custom: #391d4b;
$custom-light: #715a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#391d4b",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 276.522,
    "s": 44.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29246,
    "c": 0.08553,
    "h": 310.3
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#391D4B
secondary
#5B8044
accent
#D45486
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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