#371C38#371C38

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

Color values

HEX#371C38
RGBrgb(55, 28, 56)
HSLhsl(298, 33%, 16%)
HSVhsv(298, 50%, 22%)
CMYKcmyk(1.8%, 50%, 0%, 78%)
CIE-LABlab(15.11, 18.57, -12.69)
CIE-LCHlch(15.11, 22.49, 325.65°)
OKLaboklab(27.57% 0.0511 -0.0347)
OKLCHoklch(27.57% 0.062 325.8)
XYZxyz(2.7046, 1.9284, 3.9704)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C38 #1D381C
analogous
#291C38 #371C38 #381C2B
triadic
#371C38 #38371C #1C3837
tetradic
#371C38 #38291C #1D381C #1C2B38
square
#371C38 #38291C #1D381C #1C2B38
split-complementary
#371C38 #2B381C #1C3829
monochromatic
#140A14 #140A14 #371C38 #5F3061 #87458A

Accessibility & contrast

On white

15.16
#371C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##371C38#FFFFFF#000000##FFFFFF
##371C381.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)
#192439
Deuteranopia (green-blind)
#212737
Tritanopia (blue-blind)
#381F27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371c38;
/* rgb */ color: rgb(55, 28, 56);
/* oklch */ color: oklch(27.6% 0.062 325.8);
Tailwind
colors: {
  custom: {
    50: '#6e596e',
    500: '#371c38',
    950: '#000000',
  },
}
SCSS
$custom: #371c38;
$custom-light: #6e596e;
$custom-dark: #000000;
JSON
{
  "hex": "#371c38",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 297.857,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27573,
    "c": 0.06179,
    "h": 325.8
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#371C38
secondary
#456C43
accent
#C95E62
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #371C38

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

Preview Lab → · Contrast checker → · Palette generator →

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