#371C46#371C46

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

Color values

HEX#371C46
RGBrgb(55, 28, 70)
HSLhsl(279, 43%, 19%)
HSVhsv(279, 60%, 27%)
CMYKcmyk(21.4%, 60%, 0%, 72.5%)
CIE-LABlab(15.93, 22.07, -21.20)
CIE-LCHlch(15.93, 30.60, 316.15°)
OKLaboklab(28.45% 0.0535 -0.0593)
OKLCHoklch(28.45% 0.08 312.1)
XYZxyz(3.0961, 2.0850, 6.0325)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C46 #2B461C
analogous
#221C46 #371C46 #461C40
triadic
#371C46 #46371C #1C4637
tetradic
#371C46 #46221C #2B461C #1C4046
square
#371C46 #46221C #2B461C #1C4046
split-complementary
#371C46 #40461C #1C4622
monochromatic
#110916 #150B1A #371C46 #592D72 #7C3F9D

Accessibility & contrast

On white

14.82
#371C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C46
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C46#FFFFFF#000000##FFFFFF
##371C461.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112647
Deuteranopia (green-blind)
#1A2845
Tritanopia (blue-blind)
#35232E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c46;
/* rgb */ color: rgb(55, 28, 70);
/* oklch */ color: oklch(28.4% 0.080 312.1);
Tailwind
colors: {
  custom: {
    50: '#6f5979',
    500: '#371c46',
    950: '#000000',
  },
}
SCSS
$custom: #371c46;
$custom-light: #6f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#371c46",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 278.571,
    "s": 42.857,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2845,
    "c": 0.07986,
    "h": 312.1
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#371C46
secondary
#577B42
accent
#D35582
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #371C46

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

Preview Lab → · Contrast checker → · Palette generator →

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