#391844#391844

#391844 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.086 H 316.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#391844
RGBrgb(57, 24, 68)
HSLhsl(285, 48%, 18%)
HSVhsv(285, 65%, 27%)
CMYKcmyk(16.2%, 64.7%, 0%, 73.3%)
CIE-LABlab(15.17, 24.65, -20.99)
CIE-LCHlch(15.17, 32.37, 319.58°)
OKLaboklab(27.92% 0.0627 -0.0586)
OKLCHoklch(27.92% 0.086 316.9)
XYZxyz(3.0572, 1.9406, 5.6812)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391844 #234418
analogous
#231844 #391844 #441839
triadic
#391844 #443918 #184439
tetradic
#391844 #442318 #234418 #183944
square
#391844 #442318 #234418 #183944
split-complementary
#391844 #394418 #184423
monochromatic
#130817 #130817 #391844 #5F2871 #85389E

Accessibility & contrast

On white

15.13
#391844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#391844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391844
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391844#FFFFFF#000000##FFFFFF
##3918441.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2445
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#391F2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391844;
/* rgb */ color: rgb(57, 24, 68);
/* oklch */ color: oklch(27.9% 0.086 316.9);
Tailwind
colors: {
  custom: {
    50: '#715778',
    500: '#391844',
    950: '#000000',
  },
}
SCSS
$custom: #391844;
$custom-light: #715778;
$custom-dark: #000000;
JSON
{
  "hex": "#391844",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 285,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27919,
    "c": 0.08581,
    "h": 316.9
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#391844
secondary
#4D7B3D
accent
#D75072
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391844

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

Preview Lab → · Contrast checker → · Palette generator →

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