#371C3C#371C3C

#371C3C is a dark, moderate purple. Relative luminance 0.020; OKLCH L 27.8% C 0.067 H 321.2°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#371C3C
RGBrgb(55, 28, 60)
HSLhsl(291, 36%, 17%)
HSVhsv(291, 53%, 24%)
CMYKcmyk(8.3%, 53.3%, 0%, 76.5%)
CIE-LABlab(15.32, 19.52, -15.17)
CIE-LCHlch(15.32, 24.72, 322.14°)
OKLaboklab(27.81% 0.052 -0.0418)
OKLCHoklch(27.81% 0.067 321.2)
XYZxyz(2.8063, 1.9691, 4.5063)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C3C #213C1C
analogous
#271C3C #371C3C #3C1C31
triadic
#371C3C #3C371C #1C3C37
tetradic
#371C3C #3C271C #213C1C #1C313C
square
#371C3C #3C271C #213C1C #1C313C
split-complementary
#371C3C #313C1C #1C3C27
monochromatic
#130A15 #130A15 #371C3C #5D2F66 #84438F

Accessibility & contrast

On white

15.07
#371C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C3C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C3C#FFFFFF#000000##FFFFFF
##371C3C1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243D
Deuteranopia (green-blind)
#1F273B
Tritanopia (blue-blind)
#382029
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371c3c;
/* rgb */ color: rgb(55, 28, 60);
/* oklch */ color: oklch(27.8% 0.067 321.2);
Tailwind
colors: {
  custom: {
    50: '#6f5972',
    500: '#371c3c',
    950: '#000000',
  },
}
SCSS
$custom: #371c3c;
$custom-light: #6f5972;
$custom-dark: #000000;
JSON
{
  "hex": "#371c3c",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 290.625,
    "s": 36.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27807,
    "c": 0.06676,
    "h": 321.2
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#371C3C
secondary
#4A7143
accent
#CC5B6D
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #371C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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