#391442#391442

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

Color values

HEX#391442
RGBrgb(57, 20, 66)
HSLhsl(288, 53%, 17%)
HSVhsv(288, 70%, 26%)
CMYKcmyk(13.6%, 69.7%, 0%, 74.1%)
CIE-LABlab(14.19, 26.46, -21.15)
CIE-LCHlch(14.19, 33.87, 321.37°)
OKLaboklab(27.16% 0.0687 -0.059)
OKLCHoklch(27.16% 0.091 319.3)
XYZxyz(2.9207, 1.7636, 5.3398)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391442 #1D4214
analogous
#221442 #391442 #421434
triadic
#391442 #423914 #144239
tetradic
#391442 #422214 #1D4214 #143442
square
#391442 #422214 #1D4214 #143442
split-complementary
#391442 #344214 #144222
monochromatic
#140717 #140717 #391442 #622271 #8A30A0

Accessibility & contrast

On white

15.52
#391442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#391442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391442
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391442#FFFFFF#000000##FFFFFF
##3914421.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082143
Deuteranopia (green-blind)
#172541
Tritanopia (blue-blind)
#391C28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391442;
/* rgb */ color: rgb(57, 20, 66);
/* oklch */ color: oklch(27.2% 0.091 319.3);
Tailwind
colors: {
  custom: {
    50: '#715476',
    500: '#391442',
    950: '#000000',
  },
}
SCSS
$custom: #391442;
$custom-light: #715476;
$custom-dark: #000000;
JSON
{
  "hex": "#391442",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 288.261,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27164,
    "c": 0.09055,
    "h": 319.3
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#391442
secondary
#457A38
accent
#DD4B67
background
#F6F4F7
surface
#ECE8ED
border
#C7C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391442

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

Preview Lab → · Contrast checker → · Palette generator →

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