#371C45#371C45

#371C45 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.4% C 0.079 H 312.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#371C45
RGBrgb(55, 28, 69)
HSLhsl(280, 42%, 19%)
HSVhsv(280, 59%, 27%)
CMYKcmyk(20.3%, 59.4%, 0%, 72.9%)
CIE-LABlab(15.86, 21.80, -20.61)
CIE-LCHlch(15.86, 30.00, 316.62°)
OKLaboklab(28.38% 0.0534 -0.0576)
OKLCHoklch(28.38% 0.079 312.8)
XYZxyz(3.0648, 2.0725, 5.8676)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C45 #2A451C
analogous
#231C45 #371C45 #451C3F
triadic
#371C45 #45371C #1C4537
tetradic
#371C45 #45231C #2A451C #1C3F45
square
#371C45 #45231C #2A451C #1C3F45
split-complementary
#371C45 #3F451C #1C4523
monochromatic
#110916 #140A19 #371C45 #5A2E71 #7C3F9C

Accessibility & contrast

On white

14.85
#371C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C45
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C45#FFFFFF#000000##FFFFFF
##371C451.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#1A2844
Tritanopia (blue-blind)
#36232D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371c45;
/* rgb */ color: rgb(55, 28, 69);
/* oklch */ color: oklch(28.4% 0.079 312.8);
Tailwind
colors: {
  custom: {
    50: '#6f5979',
    500: '#371c45',
    950: '#000000',
  },
}
SCSS
$custom: #371c45;
$custom-light: #6f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#371c45",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 279.512,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28382,
    "c": 0.07852,
    "h": 312.8
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#371C45
secondary
#567A42
accent
#D25680
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #371C45

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

Preview Lab → · Contrast checker → · Palette generator →

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