#391D4E#391D4E

#391D4E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.090 H 308.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#391D4E
RGBrgb(57, 29, 78)
HSLhsl(274, 46%, 21%)
HSVhsv(274, 63%, 31%)
CMYKcmyk(26.9%, 62.8%, 0%, 69.4%)
CIE-LABlab(16.98, 24.21, -24.99)
CIE-LCHlch(16.98, 34.79, 314.08°)
OKLaboklab(29.46% 0.0554 -0.0703)
OKLCHoklch(29.46% 0.09 308.2)
XYZxyz(3.5016, 2.2987, 7.4655)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D4E #324E1D
analogous
#201D4E #391D4E #4E1D4A
triadic
#391D4E #4E391D #1D4E39
tetradic
#391D4E #4E201D #324E1D #1D4A4E
square
#391D4E #4E201D #324E1D #1D4A4E
split-complementary
#391D4E #4A4E1D #1D4E20
monochromatic
#100816 #180C21 #391D4E #5A2E7B #7A3EA7

Accessibility & contrast

On white

14.39
#391D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D4E
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D4E#FFFFFF#000000##FFFFFF
##391D4E1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2950
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#362632
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391d4e;
/* rgb */ color: rgb(57, 29, 78);
/* oklch */ color: oklch(29.5% 0.090 308.2);
Tailwind
colors: {
  custom: {
    50: '#715a80',
    500: '#391d4e',
    950: '#000000',
  },
}
SCSS
$custom: #391d4e;
$custom-light: #715a80;
$custom-dark: #000000;
JSON
{
  "hex": "#391d4e",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 274.286,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2946,
    "c": 0.08953,
    "h": 308.2
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#391D4E
secondary
#5F8344
accent
#D5528B
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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