#371C4D#371C4D

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

Color values

HEX#371C4D
RGBrgb(55, 28, 77)
HSLhsl(273, 47%, 21%)
HSVhsv(273, 64%, 30%)
CMYKcmyk(28.6%, 63.6%, 0%, 69.8%)
CIE-LABlab(16.40, 23.96, -25.26)
CIE-LCHlch(16.40, 34.82, 313.49°)
OKLaboklab(28.95% 0.0539 -0.0712)
OKLCHoklch(28.95% 0.089 307.1)
XYZxyz(3.3301, 2.1786, 7.2648)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C4D #324D1C
analogous
#1E1C4D #371C4D #4D1C4A
triadic
#371C4D #4D371C #1C4D37
tetradic
#371C4D #4D1E1C #324D1C #1C4A4D
square
#371C4D #4D1E1C #324D1C #1C4A4D
split-complementary
#371C4D #4A4D1C #1C4D1E
monochromatic
#100816 #170C20 #371C4D #572C7A #773DA7

Accessibility & contrast

On white

14.63
#371C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C4D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C4D#FFFFFF#000000##FFFFFF
##371C4D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09284F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#342531
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371c4d;
/* rgb */ color: rgb(55, 28, 77);
/* oklch */ color: oklch(28.9% 0.089 307.1);
Tailwind
colors: {
  custom: {
    50: '#70597f',
    500: '#371c4d',
    950: '#000000',
  },
}
SCSS
$custom: #371c4d;
$custom-light: #70597f;
$custom-dark: #000000;
JSON
{
  "hex": "#371c4d",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 273.061,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.08926,
    "h": 307.1
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#371C4D
secondary
#5F8342
accent
#D6518D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #371C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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