#371C4A#371C4A

#371C4A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.085 H 309.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#371C4A
RGBrgb(55, 28, 74)
HSLhsl(275, 45%, 20%)
HSVhsv(275, 62%, 29%)
CMYKcmyk(25.7%, 62.2%, 0%, 71%)
CIE-LABlab(16.19, 23.14, -23.53)
CIE-LCHlch(16.19, 33.01, 314.52°)
OKLaboklab(28.73% 0.0538 -0.0661)
OKLCHoklch(28.73% 0.085 309.1)
XYZxyz(3.2266, 2.1372, 6.7198)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C4A #2F4A1C
analogous
#201C4A #371C4A #4A1C46
triadic
#371C4A #4A371C #1C4A37
tetradic
#371C4A #4A201C #2F4A1C #1C464A
square
#371C4A #4A201C #2F4A1C #1C464A
split-complementary
#371C4A #464A1C #1C4A20
monochromatic
#100816 #160B1E #371C4A #582D76 #793EA3

Accessibility & contrast

On white

14.71
#371C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C4A
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C4A#FFFFFF#000000##FFFFFF
##371C4A1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274C
Deuteranopia (green-blind)
#172949
Tritanopia (blue-blind)
#342430
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c4a;
/* rgb */ color: rgb(55, 28, 74);
/* oklch */ color: oklch(28.7% 0.085 309.1);
Tailwind
colors: {
  custom: {
    50: '#6f597d',
    500: '#371c4a',
    950: '#000000',
  },
}
SCSS
$custom: #371c4a;
$custom-light: #6f597d;
$custom-dark: #000000;
JSON
{
  "hex": "#371c4a",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 275.217,
    "s": 45.098,
    "l": 20
  },
  "oklch": {
    "l": 0.28729,
    "c": 0.08522,
    "h": 309.1
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#371C4A
secondary
#5C7F42
accent
#D55389
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #371C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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