#371C41#371C41

#371C41 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.1% C 0.073 H 316.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#371C41
RGBrgb(55, 28, 65)
HSLhsl(284, 40%, 18%)
HSVhsv(284, 57%, 25%)
CMYKcmyk(15.4%, 56.9%, 0%, 74.5%)
CIE-LABlab(15.62, 20.77, -18.22)
CIE-LCHlch(15.62, 27.63, 318.74°)
OKLaboklab(28.12% 0.0529 -0.0506)
OKLCHoklch(28.12% 0.073 316.2)
XYZxyz(2.9448, 2.0245, 5.2356)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C41 #26411C
analogous
#241C41 #371C41 #411C38
triadic
#371C41 #41371C #1C4137
tetradic
#371C41 #41241C #26411C #1C3841
square
#371C41 #41241C #26411C #1C3841
split-complementary
#371C41 #38411C #1C4124
monochromatic
#120915 #130A16 #371C41 #5B2E6C #7F4197

Accessibility & contrast

On white

14.95
#371C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C41
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C41#FFFFFF#000000##FFFFFF
##371C411.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#37222B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371c41;
/* rgb */ color: rgb(55, 28, 65);
/* oklch */ color: oklch(28.1% 0.073 316.2);
Tailwind
colors: {
  custom: {
    50: '#6f5976',
    500: '#371c41',
    950: '#000000',
  },
}
SCSS
$custom: #371c41;
$custom-light: #6f5976;
$custom-dark: #000000;
JSON
{
  "hex": "#371c41",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 283.784,
    "s": 39.785,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28118,
    "c": 0.07322,
    "h": 316.2
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#371C41
secondary
#517643
accent
#D05878
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #371C41

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

Preview Lab → · Contrast checker → · Palette generator →

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