#391840#391840

#391840 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.6% C 0.081 H 320.4°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#391840
RGBrgb(57, 24, 64)
HSLhsl(290, 45%, 17%)
HSVhsv(290, 63%, 25%)
CMYKcmyk(10.9%, 62.5%, 0%, 74.9%)
CIE-LABlab(14.92, 23.68, -18.60)
CIE-LCHlch(14.92, 30.11, 321.85°)
OKLaboklab(27.65% 0.0623 -0.0516)
OKLCHoklch(27.65% 0.081 320.4)
XYZxyz(2.9393, 1.8934, 5.0601)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391840 #1F4018
analogous
#251840 #391840 #401833
triadic
#391840 #403918 #184039
tetradic
#391840 #402518 #1F4018 #183340
square
#391840 #402518 #1F4018 #183340
split-complementary
#391840 #334018 #184025
monochromatic
#140816 #140816 #391840 #61296D #883999

Accessibility & contrast

On white

15.23
#391840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#391840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391840
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391840#FFFFFF#000000##FFFFFF
##3918401.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102341
Deuteranopia (green-blind)
#1B273F
Tritanopia (blue-blind)
#391E29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391840;
/* rgb */ color: rgb(57, 24, 64);
/* oklch */ color: oklch(27.6% 0.081 320.4);
Tailwind
colors: {
  custom: {
    50: '#715775',
    500: '#391840',
    950: '#000000',
  },
}
SCSS
$custom: #391840;
$custom-light: #715775;
$custom-dark: #000000;
JSON
{
  "hex": "#391840",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 289.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27649,
    "c": 0.08096,
    "h": 320.4
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#391840
secondary
#47773D
accent
#D55369
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391840

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

Preview Lab → · Contrast checker → · Palette generator →

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