#391047#391047

#391047 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.103 H 316.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#391047
RGBrgb(57, 16, 71)
HSLhsl(285, 63%, 17%)
HSVhsv(285, 77%, 28%)
CMYKcmyk(19.7%, 77.5%, 0%, 72.2%)
CIE-LABlab(13.80, 29.74, -25.27)
CIE-LCHlch(13.80, 39.02, 319.64°)
OKLaboklab(26.99% 0.074 -0.071)
OKLCHoklch(26.99% 0.103 316.1)
XYZxyz(3.0098, 1.6955, 6.1287)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391047 #1E4710
analogous
#1E1047 #391047 #47103A
triadic
#391047 #473910 #104739
tetradic
#391047 #471E10 #1E4710 #103A47
square
#391047 #471E10 #1E4710 #103A47
split-complementary
#391047 #3A4710 #10471E
monochromatic
#140619 #140619 #391047 #611B79 #8927AB

Accessibility & contrast

On white

15.68
#391047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#391047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391047
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391047#FFFFFF#000000##FFFFFF
##3910471.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#102446
Tritanopia (blue-blind)
#381B2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391047;
/* rgb */ color: rgb(57, 16, 71);
/* oklch */ color: oklch(27.0% 0.103 316.1);
Tailwind
colors: {
  custom: {
    50: '#72527a',
    500: '#391047',
    950: '#000000',
  },
}
SCSS
$custom: #391047;
$custom-light: #72527a;
$custom-dark: #000000;
JSON
{
  "hex": "#391047",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 284.727,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26994,
    "c": 0.10254,
    "h": 316.1
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#391047
secondary
#468132
accent
#E6426B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #391047

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

Preview Lab → · Contrast checker → · Palette generator →

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