#391C4E#391C4E

#391C4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.091 H 308.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#391C4E
RGBrgb(57, 28, 78)
HSLhsl(275, 47%, 21%)
HSVhsv(275, 64%, 31%)
CMYKcmyk(26.9%, 64.1%, 0%, 69.4%)
CIE-LABlab(16.75, 24.82, -25.36)
CIE-LCHlch(16.75, 35.49, 314.38°)
OKLaboklab(29.29% 0.0569 -0.0714)
OKLCHoklch(29.29% 0.091 308.6)
XYZxyz(3.4775, 2.2505, 7.4574)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C4E #314E1C
analogous
#201C4E #391C4E #4E1C4A
triadic
#391C4E #4E391C #1C4E39
tetradic
#391C4E #4E201C #314E1C #1C4A4E
square
#391C4E #4E201C #314E1C #1C4A4E
split-complementary
#391C4E #4A4E1C #1C4E20
monochromatic
#100817 #180C21 #391C4E #5A2C7B #7B3CA8

Accessibility & contrast

On white

14.48
#391C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C4E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C4E#FFFFFF#000000##FFFFFF
##391C4E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#362532
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391c4e;
/* rgb */ color: rgb(57, 28, 78);
/* oklch */ color: oklch(29.3% 0.091 308.6);
Tailwind
colors: {
  custom: {
    50: '#715a80',
    500: '#391c4e',
    950: '#000000',
  },
}
SCSS
$custom: #391c4e;
$custom-light: #715a80;
$custom-dark: #000000;
JSON
{
  "hex": "#391c4e",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 274.8,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2929,
    "c": 0.09131,
    "h": 308.6
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#391C4E
secondary
#5E8442
accent
#D75189
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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