#391B4E#391B4E

#391B4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.093 H 308.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#391B4E
RGBrgb(57, 27, 78)
HSLhsl(275, 49%, 21%)
HSVhsv(275, 65%, 31%)
CMYKcmyk(26.9%, 65.4%, 0%, 69.4%)
CIE-LABlab(16.52, 25.43, -25.73)
CIE-LCHlch(16.52, 36.18, 314.67°)
OKLaboklab(29.12% 0.0584 -0.0725)
OKLCHoklch(29.12% 0.093 308.9)
XYZxyz(3.4542, 2.2038, 7.4497)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B4E #304E1B
analogous
#1F1B4E #391B4E #4E1B49
triadic
#391B4E #4E391B #1B4E39
tetradic
#391B4E #4E1F1B #304E1B #1B494E
square
#391B4E #4E1F1B #304E1B #1B494E
split-complementary
#391B4E #494E1B #1B4E1F
monochromatic
#110817 #180B21 #391B4E #5A2B7B #7B3AA9

Accessibility & contrast

On white

14.58
#391B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B4E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B4E#FFFFFF#000000##FFFFFF
##391B4E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#362531
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391b4e;
/* rgb */ color: rgb(57, 27, 78);
/* oklch */ color: oklch(29.1% 0.093 308.9);
Tailwind
colors: {
  custom: {
    50: '#715980',
    500: '#391b4e',
    950: '#000000',
  },
}
SCSS
$custom: #391b4e;
$custom-light: #715980;
$custom-dark: #000000;
JSON
{
  "hex": "#391b4e",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 275.294,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29124,
    "c": 0.09307,
    "h": 308.9
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#391B4E
secondary
#5C8441
accent
#D85088
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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