#371C4C#371C4C

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

Color values

HEX#371C4C
RGBrgb(55, 28, 76)
HSLhsl(274, 46%, 20%)
HSVhsv(274, 63%, 30%)
CMYKcmyk(27.6%, 63.2%, 0%, 70.2%)
CIE-LABlab(16.33, 23.69, -24.69)
CIE-LCHlch(16.33, 34.21, 313.82°)
OKLaboklab(28.87% 0.0539 -0.0695)
OKLCHoklch(28.87% 0.088 307.8)
XYZxyz(3.2950, 2.1646, 7.0803)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C4C #314C1C
analogous
#1F1C4C #371C4C #4C1C49
triadic
#371C4C #4C371C #1C4C37
tetradic
#371C4C #4C1F1C #314C1C #1C494C
square
#371C4C #4C1F1C #314C1C #1C494C
split-complementary
#371C4C #494C1C #1C4C1F
monochromatic
#100816 #170C1F #371C4C #572C79 #783DA5

Accessibility & contrast

On white

14.65
#371C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C4C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C4C#FFFFFF#000000##FFFFFF
##371C4C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274E
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#342531
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c4c;
/* rgb */ color: rgb(55, 28, 76);
/* oklch */ color: oklch(28.9% 0.088 307.8);
Tailwind
colors: {
  custom: {
    50: '#70597e',
    500: '#371c4c',
    950: '#000000',
  },
}
SCSS
$custom: #371c4c;
$custom-light: #70597e;
$custom-dark: #000000;
JSON
{
  "hex": "#371c4c",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 273.75,
    "s": 46.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28874,
    "c": 0.08791,
    "h": 307.8
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#371C4C
secondary
#5E8242
accent
#D6528C
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #371C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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