#391642#391642

#391642 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.087 H 319.0°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#391642
RGBrgb(57, 22, 66)
HSLhsl(288, 50%, 17%)
HSVhsv(288, 67%, 26%)
CMYKcmyk(13.6%, 66.7%, 0%, 74.1%)
CIE-LABlab(14.61, 25.33, -20.49)
CIE-LCHlch(14.61, 32.58, 321.03°)
OKLaboklab(27.47% 0.0657 -0.0571)
OKLCHoklch(27.47% 0.087 319)
XYZxyz(2.9575, 1.8371, 5.3520)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391642 #1F4216
analogous
#231642 #391642 #421635
triadic
#391642 #423916 #164239
tetradic
#391642 #422316 #1F4216 #163542
square
#391642 #422316 #1F4216 #163542
split-complementary
#391642 #354216 #164223
monochromatic
#140817 #140817 #391642 #612570 #88359E

Accessibility & contrast

On white

15.36
#391642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391642
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391642#FFFFFF#000000##FFFFFF
##3916421.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2243
Deuteranopia (green-blind)
#192641
Tritanopia (blue-blind)
#391D29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391642;
/* rgb */ color: rgb(57, 22, 66);
/* oklch */ color: oklch(27.5% 0.087 319.0);
Tailwind
colors: {
  custom: {
    50: '#715576',
    500: '#391642',
    950: '#000000',
  },
}
SCSS
$custom: #391642;
$custom-light: #715576;
$custom-dark: #000000;
JSON
{
  "hex": "#391642",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 287.727,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27465,
    "c": 0.08703,
    "h": 319
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#391642
secondary
#47793A
accent
#DA4E6B
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391642

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

Preview Lab → · Contrast checker → · Palette generator →

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