#391F4E#391F4E

#391F4E is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.8% C 0.086 H 307.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#391F4E
RGBrgb(57, 31, 78)
HSLhsl(273, 43%, 21%)
HSVhsv(273, 60%, 31%)
CMYKcmyk(26.9%, 60.3%, 0%, 69.4%)
CIE-LABlab(17.46, 22.95, -24.23)
CIE-LCHlch(17.46, 33.37, 313.44°)
OKLaboklab(29.81% 0.0523 -0.0681)
OKLCHoklch(29.81% 0.086 307.5)
XYZxyz(3.5522, 2.3999, 7.4824)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391F4E #344E1F
analogous
#221F4E #391F4E #4E1F4C
triadic
#391F4E #4E391F #1F4E39
tetradic
#391F4E #4E221F #344E1F #1F4C4E
square
#391F4E #4E221F #344E1F #1F4C4E
split-complementary
#391F4E #4C4E1F #1F4E22
monochromatic
#100916 #190E22 #391F4E #59307A #7942A6

Accessibility & contrast

On white

14.19
#391F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391F4E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391F4E#FFFFFF#000000##FFFFFF
##391F4E1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A50
Deuteranopia (green-blind)
#192B4D
Tritanopia (blue-blind)
#362833
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391f4e;
/* rgb */ color: rgb(57, 31, 78);
/* oklch */ color: oklch(29.8% 0.086 307.5);
Tailwind
colors: {
  custom: {
    50: '#715c80',
    500: '#391f4e',
    950: '#000000',
  },
}
SCSS
$custom: #391f4e;
$custom-light: #715c80;
$custom-dark: #000000;
JSON
{
  "hex": "#391f4e",
  "rgb": {
    "r": 57,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 273.191,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.08588,
    "h": 307.5
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#391F4E
secondary
#618346
accent
#D3558D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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