#391347#391347

#391347 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.098 H 315.6°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#391347
RGBrgb(57, 19, 71)
HSLhsl(284, 58%, 18%)
HSVhsv(284, 73%, 28%)
CMYKcmyk(19.7%, 73.2%, 0%, 72.2%)
CIE-LABlab(14.35, 28.21, -24.39)
CIE-LCHlch(14.35, 37.29, 319.15°)
OKLaboklab(27.39% 0.07 -0.0685)
OKLCHoklch(27.39% 0.098 315.6)
XYZxyz(3.0574, 1.7906, 6.1446)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391347 #214713
analogous
#1F1347 #391347 #47133B
triadic
#391347 #473913 #134739
tetradic
#391347 #471F13 #214713 #133B47
square
#391347 #471F13 #214713 #133B47
split-complementary
#391347 #3B4713 #13471F
monochromatic
#130618 #130618 #391347 #602077 #872DA8

Accessibility & contrast

On white

15.46
#391347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#391347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391347
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391347#FFFFFF#000000##FFFFFF
##3913471.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391347;
/* rgb */ color: rgb(57, 19, 71);
/* oklch */ color: oklch(27.4% 0.098 315.6);
Tailwind
colors: {
  custom: {
    50: '#71547a',
    500: '#391347',
    950: '#000000',
  },
}
SCSS
$custom: #391347;
$custom-light: #71547a;
$custom-dark: #000000;
JSON
{
  "hex": "#391347",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 283.846,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27387,
    "c": 0.09795,
    "h": 315.6
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#391347
secondary
#4A8036
accent
#E14770
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391347

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

Preview Lab → · Contrast checker → · Palette generator →

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