#391540#391540

#391540 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.086 H 320.8°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#391540
RGBrgb(57, 21, 64)
HSLhsl(290, 51%, 17%)
HSVhsv(290, 67%, 25%)
CMYKcmyk(10.9%, 67.2%, 0%, 74.9%)
CIE-LABlab(14.27, 25.43, -19.63)
CIE-LCHlch(14.27, 32.12, 322.34°)
OKLaboklab(27.17% 0.0671 -0.0546)
OKLCHoklch(27.17% 0.086 320.8)
XYZxyz(2.8808, 1.7765, 5.0406)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391540 #1C4015
analogous
#241540 #391540 #401532
triadic
#391540 #403915 #154039
tetradic
#391540 #402415 #1C4015 #153240
square
#391540 #402415 #1C4015 #153240
split-complementary
#391540 #324015 #154024
monochromatic
#150817 #150817 #391540 #62246E #8B339C

Accessibility & contrast

On white

15.50
#391540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#391540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391540
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391540#FFFFFF#000000##FFFFFF
##3915401.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2241
Deuteranopia (green-blind)
#19253F
Tritanopia (blue-blind)
#3A1C28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391540;
/* rgb */ color: rgb(57, 21, 64);
/* oklch */ color: oklch(27.2% 0.086 320.8);
Tailwind
colors: {
  custom: {
    50: '#715575',
    500: '#391540',
    950: '#000000',
  },
}
SCSS
$custom: #391540;
$custom-light: #715575;
$custom-dark: #000000;
JSON
{
  "hex": "#391540",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 290.233,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27174,
    "c": 0.08649,
    "h": 320.8
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#391540
secondary
#437839
accent
#DA4E65
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391540

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

Preview Lab → · Contrast checker → · Palette generator →

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