#371C3D#371C3D

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

Color values

HEX#371C3D
RGBrgb(55, 28, 61)
HSLhsl(289, 37%, 17%)
HSVhsv(289, 54%, 24%)
CMYKcmyk(9.8%, 54.1%, 0%, 76.1%)
CIE-LABlab(15.38, 19.76, -15.79)
CIE-LCHlch(15.38, 25.30, 321.38°)
OKLaboklab(27.87% 0.0522 -0.0436)
OKLCHoklch(27.87% 0.068 320.1)
XYZxyz(2.8330, 1.9798, 4.6469)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C3D #223D1C
analogous
#271C3D #371C3D #3D1C33
triadic
#371C3D #3D371C #1C3D37
tetradic
#371C3D #3D271C #223D1C #1C333D
square
#371C3D #3D271C #223D1C #1C333D
split-complementary
#371C3D #333D1C #1C3D27
monochromatic
#130A15 #130A15 #371C3D #5D2F67 #834391

Accessibility & contrast

On white

15.04
#371C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C3D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C3D#FFFFFF#000000##FFFFFF
##371C3D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253E
Deuteranopia (green-blind)
#1F273C
Tritanopia (blue-blind)
#372029
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371c3d;
/* rgb */ color: rgb(55, 28, 61);
/* oklch */ color: oklch(27.9% 0.068 320.1);
Tailwind
colors: {
  custom: {
    50: '#6f5972',
    500: '#371c3d',
    950: '#000000',
  },
}
SCSS
$custom: #371c3d;
$custom-light: #6f5972;
$custom-dark: #000000;
JSON
{
  "hex": "#371c3d",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 289.091,
    "s": 37.079,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27867,
    "c": 0.06803,
    "h": 320.1
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#371C3D
secondary
#4B7243
accent
#CD5B70
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #371C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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