#371C39#371C39

#371C39 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.6% C 0.063 H 324.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#371C39
RGBrgb(55, 28, 57)
HSLhsl(296, 34%, 17%)
HSVhsv(296, 51%, 22%)
CMYKcmyk(3.5%, 50.9%, 0%, 77.6%)
CIE-LABlab(15.16, 18.80, -13.31)
CIE-LCHlch(15.16, 23.04, 324.70°)
OKLaboklab(27.63% 0.0514 -0.0365)
OKLCHoklch(27.63% 0.063 324.6)
XYZxyz(2.7293, 1.9383, 4.1005)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C39 #1E391C
analogous
#291C39 #371C39 #391C2D
triadic
#371C39 #39371C #1C3937
tetradic
#371C39 #39291C #1E391C #1C2D39
square
#371C39 #39291C #1E391C #1C2D39
split-complementary
#371C39 #2D391C #1C3929
monochromatic
#140A15 #140A15 #371C39 #5F3062 #86448B

Accessibility & contrast

On white

15.13
#371C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##371C39#FFFFFF#000000##FFFFFF
##371C391.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)
#19243A
Deuteranopia (green-blind)
#202738
Tritanopia (blue-blind)
#381F27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371c39;
/* rgb */ color: rgb(55, 28, 57);
/* oklch */ color: oklch(27.6% 0.063 324.6);
Tailwind
colors: {
  custom: {
    50: '#6f596f',
    500: '#371c39',
    950: '#000000',
  },
}
SCSS
$custom: #371c39;
$custom-light: #6f596f;
$custom-dark: #000000;
JSON
{
  "hex": "#371c39",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 295.862,
    "s": 34.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2763,
    "c": 0.06301,
    "h": 324.6
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#371C39
secondary
#466E43
accent
#CA5E65
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #371C39

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

Preview Lab → · Contrast checker → · Palette generator →

#371C39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva