#391447#391447

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

Color values

HEX#391447
RGBrgb(57, 20, 71)
HSLhsl(284, 56%, 18%)
HSVhsv(284, 72%, 28%)
CMYKcmyk(19.7%, 71.8%, 0%, 72.2%)
CIE-LABlab(14.54, 27.67, -24.08)
CIE-LCHlch(14.54, 36.68, 318.97°)
OKLaboklab(27.53% 0.0686 -0.0676)
OKLCHoklch(27.53% 0.096 315.4)
XYZxyz(3.0746, 1.8252, 6.1504)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391447 #224714
analogous
#1F1447 #391447 #47143B
triadic
#391447 #473914 #144739
tetradic
#391447 #471F14 #224714 #143B47
square
#391447 #471F14 #224714 #143B47
split-complementary
#391447 #3B4714 #14471F
monochromatic
#130718 #130718 #391447 #5F2177 #862FA6

Accessibility & contrast

On white

15.38
#391447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391447
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391447#FFFFFF#000000##FFFFFF
##3914471.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022349
Deuteranopia (green-blind)
#132646
Tritanopia (blue-blind)
#381D2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391447;
/* rgb */ color: rgb(57, 20, 71);
/* oklch */ color: oklch(27.5% 0.096 315.4);
Tailwind
colors: {
  custom: {
    50: '#71547a',
    500: '#391447',
    950: '#000000',
  },
}
SCSS
$custom: #391447;
$custom-light: #71547a;
$custom-dark: #000000;
JSON
{
  "hex": "#391447",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 283.529,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27527,
    "c": 0.09633,
    "h": 315.4
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#391447
secondary
#4B7F38
accent
#DF4872
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391447

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

Preview Lab → · Contrast checker → · Palette generator →

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