#391040#391040

#391040 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.095 H 321.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#391040
RGBrgb(57, 16, 64)
HSLhsl(291, 60%, 16%)
HSVhsv(291, 75%, 25%)
CMYKcmyk(10.9%, 75%, 0%, 74.9%)
CIE-LABlab(13.30, 28.11, -21.17)
CIE-LCHlch(13.30, 35.19, 323.01°)
OKLaboklab(26.47% 0.0743 -0.0591)
OKLCHoklch(26.47% 0.095 321.5)
XYZxyz(2.7979, 1.6107, 5.0130)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391040 #174010
analogous
#211040 #391040 #40102F
triadic
#391040 #403910 #104039
tetradic
#391040 #402110 #174010 #102F40
square
#391040 #402110 #174010 #102F40
split-complementary
#391040 #2F4010 #104021
monochromatic
#160618 #160618 #391040 #651C71 #9028A2

Accessibility & contrast

On white

15.88
#391040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#391040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391040
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391040#FFFFFF#000000##FFFFFF
##3910401.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041F41
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#3A1826
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #391040;
/* rgb */ color: rgb(57, 16, 64);
/* oklch */ color: oklch(26.5% 0.095 321.5);
Tailwind
colors: {
  custom: {
    50: '#715275',
    500: '#391040',
    950: '#000000',
  },
}
SCSS
$custom: #391040;
$custom-light: #715275;
$custom-dark: #000000;
JSON
{
  "hex": "#391040",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 291.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2647,
    "c": 0.09492,
    "h": 321.5
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#391040
secondary
#3C7A32
accent
#E3455C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #391040

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

Preview Lab → · Contrast checker → · Palette generator →

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