#391740#391740

#391740 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.5% C 0.083 H 320.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#391740
RGBrgb(57, 23, 64)
HSLhsl(290, 47%, 17%)
HSVhsv(290, 64%, 25%)
CMYKcmyk(10.9%, 64.1%, 0%, 74.9%)
CIE-LABlab(14.70, 24.27, -18.95)
CIE-LCHlch(14.70, 30.79, 322.02°)
OKLaboklab(27.49% 0.0639 -0.0527)
OKLCHoklch(27.49% 0.083 320.5)
XYZxyz(2.9190, 1.8529, 5.0534)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391740 #1E4017
analogous
#251740 #391740 #401733
triadic
#391740 #403917 #174039
tetradic
#391740 #402517 #1E4017 #173340
square
#391740 #402517 #1E4017 #173340
split-complementary
#391740 #334017 #174025
monochromatic
#140817 #140817 #391740 #61276D #89379A

Accessibility & contrast

On white

15.32
#391740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#391740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391740
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391740#FFFFFF#000000##FFFFFF
##3917401.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2341
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#391D29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391740;
/* rgb */ color: rgb(57, 23, 64);
/* oklch */ color: oklch(27.5% 0.083 320.5);
Tailwind
colors: {
  custom: {
    50: '#715675',
    500: '#391740',
    950: '#000000',
  },
}
SCSS
$custom: #391740;
$custom-light: #715675;
$custom-dark: #000000;
JSON
{
  "hex": "#391740",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 289.756,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27487,
    "c": 0.08283,
    "h": 320.5
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#391740
secondary
#46773C
accent
#D75168
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391740

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

Preview Lab → · Contrast checker → · Palette generator →

#391740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva