#371C48#371C48

#371C48 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.083 H 310.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#371C48
RGBrgb(55, 28, 72)
HSLhsl(277, 44%, 20%)
HSVhsv(277, 61%, 28%)
CMYKcmyk(23.6%, 61.1%, 0%, 71.8%)
CIE-LABlab(16.06, 22.60, -22.37)
CIE-LCHlch(16.06, 31.80, 315.29°)
OKLaboklab(28.59% 0.0537 -0.0627)
OKLCHoklch(28.59% 0.083 310.5)
XYZxyz(3.1603, 2.1107, 6.3706)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C48 #2D481C
analogous
#211C48 #371C48 #481C43
triadic
#371C48 #48371C #1C4837
tetradic
#371C48 #48211C #2D481C #1C4348
square
#371C48 #48211C #2D481C #1C4348
split-complementary
#371C48 #43481C #1C4821
monochromatic
#110916 #150B1C #371C48 #592D74 #7A3EA0

Accessibility & contrast

On white

14.77
#371C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C48
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C48#FFFFFF#000000##FFFFFF
##371C481.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2749
Deuteranopia (green-blind)
#182847
Tritanopia (blue-blind)
#35242F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c48;
/* rgb */ color: rgb(55, 28, 72);
/* oklch */ color: oklch(28.6% 0.083 310.5);
Tailwind
colors: {
  custom: {
    50: '#6f597b',
    500: '#371c48',
    950: '#000000',
  },
}
SCSS
$custom: #371c48;
$custom-light: #6f597b;
$custom-dark: #000000;
JSON
{
  "hex": "#371c48",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 276.818,
    "s": 44,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28588,
    "c": 0.08254,
    "h": 310.5
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#371C48
secondary
#597D42
accent
#D45485
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #371C48

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

Preview Lab → · Contrast checker → · Palette generator →

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