#371C4B#371C4B

#371C4B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.8% C 0.087 H 308.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#371C4B
RGBrgb(55, 28, 75)
HSLhsl(274, 46%, 20%)
HSVhsv(274, 63%, 29%)
CMYKcmyk(26.7%, 62.7%, 0%, 70.6%)
CIE-LABlab(16.26, 23.41, -24.11)
CIE-LCHlch(16.26, 33.61, 314.16°)
OKLaboklab(28.8% 0.0538 -0.0678)
OKLCHoklch(28.8% 0.087 308.4)
XYZxyz(3.2605, 2.1508, 6.8986)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C4B #304B1C
analogous
#1F1C4B #371C4B #4B1C47
triadic
#371C4B #4B371C #1C4B37
tetradic
#371C4B #4B1F1C #304B1C #1C474B
square
#371C4B #4B1F1C #304B1C #1C474B
split-complementary
#371C4B #474B1C #1C4B1F
monochromatic
#100816 #160B1E #371C4B #582D78 #783DA4

Accessibility & contrast

On white

14.68
#371C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C4B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C4B#FFFFFF#000000##FFFFFF
##371C4B1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274D
Deuteranopia (green-blind)
#16294A
Tritanopia (blue-blind)
#342530
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c4b;
/* rgb */ color: rgb(55, 28, 75);
/* oklch */ color: oklch(28.8% 0.087 308.4);
Tailwind
colors: {
  custom: {
    50: '#6f597d',
    500: '#371c4b',
    950: '#000000',
  },
}
SCSS
$custom: #371c4b;
$custom-light: #6f597d;
$custom-dark: #000000;
JSON
{
  "hex": "#371c4b",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 274.468,
    "s": 45.631,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28801,
    "c": 0.08657,
    "h": 308.4
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#371C4B
secondary
#5D8142
accent
#D5528A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #371C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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