#371C4F#371C4F

#371C4F is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.092 H 305.9°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#371C4F
RGBrgb(55, 28, 79)
HSLhsl(272, 48%, 21%)
HSVhsv(272, 65%, 31%)
CMYKcmyk(30.4%, 64.6%, 0%, 69%)
CIE-LABlab(16.54, 24.52, -26.40)
CIE-LCHlch(16.54, 36.03, 312.89°)
OKLaboklab(29.1% 0.0539 -0.0745)
OKLCHoklch(29.1% 0.092 305.9)
XYZxyz(3.4018, 2.2073, 7.6425)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C4F #344F1C
analogous
#1D1C4F #371C4F #4F1C4D
triadic
#371C4F #4F371C #1C4F37
tetradic
#371C4F #4F1D1C #344F1C #1C4D4F
square
#371C4F #4F1D1C #344F1C #1C4D4F
split-complementary
#371C4F #4D4F1C #1C4F1D
monochromatic
#100817 #180C22 #371C4F #562C7C #763CA9

Accessibility & contrast

On white

14.57
#371C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C4F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C4F#FFFFFF#000000##FFFFFF
##371C4F1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072851
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#332632
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371c4f;
/* rgb */ color: rgb(55, 28, 79);
/* oklch */ color: oklch(29.1% 0.092 305.9);
Tailwind
colors: {
  custom: {
    50: '#705981',
    500: '#371c4f',
    950: '#000000',
  },
}
SCSS
$custom: #371c4f;
$custom-light: #705981;
$custom-dark: #000000;
JSON
{
  "hex": "#371c4f",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 271.765,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29096,
    "c": 0.09195,
    "h": 305.9
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#371C4F
secondary
#618542
accent
#D75190
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #371C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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