#371C42#371C42

#371C42 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.2% C 0.075 H 315.4°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#371C42
RGBrgb(55, 28, 66)
HSLhsl(283, 40%, 18%)
HSVhsv(283, 58%, 26%)
CMYKcmyk(16.7%, 57.6%, 0%, 74.1%)
CIE-LABlab(15.68, 21.02, -18.82)
CIE-LCHlch(15.68, 28.22, 318.16°)
OKLaboklab(28.18% 0.053 -0.0524)
OKLCHoklch(28.18% 0.075 315.4)
XYZxyz(2.9740, 2.0362, 5.3896)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C42 #27421C
analogous
#241C42 #371C42 #421C3A
triadic
#371C42 #42371C #1C4237
tetradic
#371C42 #42241C #27421C #1C3A42
square
#371C42 #42241C #27421C #1C3A42
split-complementary
#371C42 #3A421C #1C4224
monochromatic
#120915 #130A17 #371C42 #5B2E6D #7F4098

Accessibility & contrast

On white

14.92
#371C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C42
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C42#FFFFFF#000000##FFFFFF
##371C421.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142543
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#36222C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371c42;
/* rgb */ color: rgb(55, 28, 66);
/* oklch */ color: oklch(28.2% 0.075 315.4);
Tailwind
colors: {
  custom: {
    50: '#6f5976',
    500: '#371c42',
    950: '#000000',
  },
}
SCSS
$custom: #371c42;
$custom-light: #6f5976;
$custom-dark: #000000;
JSON
{
  "hex": "#371c42",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 282.632,
    "s": 40.426,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28182,
    "c": 0.07454,
    "h": 315.4
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#371C42
secondary
#527743
accent
#D0587A
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #371C42

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

Preview Lab → · Contrast checker → · Palette generator →

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