#391247#391247

#391247 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.100 H 315.8°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#391247
RGBrgb(57, 18, 71)
HSLhsl(284, 60%, 17%)
HSVhsv(284, 75%, 28%)
CMYKcmyk(19.7%, 74.6%, 0%, 72.2%)
CIE-LABlab(14.16, 28.73, -24.69)
CIE-LCHlch(14.16, 37.88, 319.32°)
OKLaboklab(27.25% 0.0714 -0.0694)
OKLCHoklch(27.25% 0.1 315.8)
XYZxyz(3.0408, 1.7575, 6.1391)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391247 #204712
analogous
#1E1247 #391247 #47123B
triadic
#391247 #473912 #124739
tetradic
#391247 #471E12 #204712 #123B47
square
#391247 #471E12 #204712 #123B47
split-complementary
#391247 #3B4712 #12471E
monochromatic
#140618 #140618 #391247 #601E78 #872BA9

Accessibility & contrast

On white

15.54
#391247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391247
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391247#FFFFFF#000000##FFFFFF
##3912471.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#122546
Tritanopia (blue-blind)
#381C2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391247;
/* rgb */ color: rgb(57, 18, 71);
/* oklch */ color: oklch(27.3% 0.100 315.8);
Tailwind
colors: {
  custom: {
    50: '#72537a',
    500: '#391247',
    950: '#000000',
  },
}
SCSS
$custom: #391247;
$custom-light: #72537a;
$custom-dark: #000000;
JSON
{
  "hex": "#391247",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 284.151,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27252,
    "c": 0.09953,
    "h": 315.8
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#391247
secondary
#498035
accent
#E3456F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391247

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

Preview Lab → · Contrast checker → · Palette generator →

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