#371C3E#371C3E

#371C3E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 27.9% C 0.069 H 319.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#371C3E
RGBrgb(55, 28, 62)
HSLhsl(288, 38%, 18%)
HSVhsv(288, 55%, 24%)
CMYKcmyk(11.3%, 54.8%, 0%, 75.7%)
CIE-LABlab(15.44, 20.01, -16.40)
CIE-LCHlch(15.44, 25.87, 320.67°)
OKLaboklab(27.93% 0.0524 -0.0454)
OKLCHoklch(27.93% 0.069 319.1)
XYZxyz(2.8602, 1.9906, 4.7901)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C3E #233E1C
analogous
#261C3E #371C3E #3E1C34
triadic
#371C3E #3E371C #1C3E37
tetradic
#371C3E #3E261C #233E1C #1C343E
square
#371C3E #3E261C #233E1C #1C343E
split-complementary
#371C3E #343E1C #1C3E26
monochromatic
#130A15 #130A15 #371C3E #5C2F68 #824292

Accessibility & contrast

On white

15.02
#371C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#371C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C3E
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C3E#FFFFFF#000000##FFFFFF
##371C3E1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#1E283D
Tritanopia (blue-blind)
#37212A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371c3e;
/* rgb */ color: rgb(55, 28, 62);
/* oklch */ color: oklch(27.9% 0.069 319.1);
Tailwind
colors: {
  custom: {
    50: '#6f5973',
    500: '#371c3e',
    950: '#000000',
  },
}
SCSS
$custom: #371c3e;
$custom-light: #6f5973;
$custom-dark: #000000;
JSON
{
  "hex": "#371c3e",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 287.647,
    "s": 37.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27928,
    "c": 0.06932,
    "h": 319.1
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#371C3E
secondary
#4D7343
accent
#CE5A72
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #371C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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