#371F44#371F44

#371F44 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.9% C 0.071 H 312.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#371F44
RGBrgb(55, 31, 68)
HSLhsl(279, 37%, 19%)
HSVhsv(279, 54%, 27%)
CMYKcmyk(19.1%, 54.4%, 0%, 73.3%)
CIE-LABlab(16.55, 19.60, -18.83)
CIE-LCHlch(16.55, 27.17, 316.14°)
OKLaboklab(28.87% 0.0483 -0.0524)
OKLCHoklch(28.87% 0.071 312.6)
XYZxyz(3.1087, 2.2096, 5.7305)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371F44 #2C441F
analogous
#251F44 #371F44 #441F3F
triadic
#371F44 #44371F #1F4437
tetradic
#371F44 #44251F #2C441F #1F3F44
square
#371F44 #44251F #2C441F #1F3F44
split-complementary
#371F44 #3F441F #1F4425
monochromatic
#110A15 #150C1A #371F44 #59326E #7B4598

Accessibility & contrast

On white

14.56
#371F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371F44
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371F44#FFFFFF#000000##FFFFFF
##371F441.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172845
Deuteranopia (green-blind)
#1E2943
Tritanopia (blue-blind)
#36252E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371f44;
/* rgb */ color: rgb(55, 31, 68);
/* oklch */ color: oklch(28.9% 0.071 312.6);
Tailwind
colors: {
  custom: {
    50: '#6f5b78',
    500: '#371f44',
    950: '#000000',
  },
}
SCSS
$custom: #371f44;
$custom-light: #6f5b78;
$custom-dark: #000000;
JSON
{
  "hex": "#371f44",
  "rgb": {
    "r": 55,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 278.919,
    "s": 37.374,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28871,
    "c": 0.07125,
    "h": 312.6
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#371F44
secondary
#587846
accent
#CD5A83
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #371F44

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

Preview Lab → · Contrast checker → · Palette generator →

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