#391843#391843

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

Color values

HEX#391843
RGBrgb(57, 24, 67)
HSLhsl(286, 47%, 18%)
HSVhsv(286, 64%, 26%)
CMYKcmyk(14.9%, 64.2%, 0%, 73.7%)
CIE-LABlab(15.11, 24.40, -20.40)
CIE-LCHlch(15.11, 31.80, 320.11°)
OKLaboklab(27.85% 0.0626 -0.0569)
OKLCHoklch(27.85% 0.085 317.8)
XYZxyz(3.0270, 1.9285, 5.5219)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391843 #224318
analogous
#241843 #391843 #431837
triadic
#391843 #433918 #184339
tetradic
#391843 #432418 #224318 #183743
square
#391843 #432418 #224318 #183743
split-complementary
#391843 #374318 #184324
monochromatic
#130817 #130817 #391843 #5F2870 #86389D

Accessibility & contrast

On white

15.16
#391843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391843
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391843#FFFFFF#000000##FFFFFF
##3918431.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2444
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#391F2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391843;
/* rgb */ color: rgb(57, 24, 67);
/* oklch */ color: oklch(27.9% 0.085 317.8);
Tailwind
colors: {
  custom: {
    50: '#715777',
    500: '#391843',
    950: '#000000',
  },
}
SCSS
$custom: #391843;
$custom-light: #715777;
$custom-dark: #000000;
JSON
{
  "hex": "#391843",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 286.047,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2785,
    "c": 0.08458,
    "h": 317.8
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#391843
secondary
#4B7A3D
accent
#D75170
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391843

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

Preview Lab → · Contrast checker → · Palette generator →

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