#371C49#371C49

#371C49 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.084 H 309.8°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#371C49
RGBrgb(55, 28, 73)
HSLhsl(276, 45%, 20%)
HSVhsv(276, 62%, 29%)
CMYKcmyk(24.7%, 61.6%, 0%, 71.4%)
CIE-LABlab(16.12, 22.87, -22.95)
CIE-LCHlch(16.12, 32.40, 314.90°)
OKLaboklab(28.66% 0.0537 -0.0644)
OKLCHoklch(28.66% 0.084 309.8)
XYZxyz(3.1932, 2.1238, 6.5438)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C49 #2E491C
analogous
#211C49 #371C49 #491C45
triadic
#371C49 #49371C #1C4937
tetradic
#371C49 #49211C #2E491C #1C4549
square
#371C49 #49211C #2E491C #1C4549
split-complementary
#371C49 #45491C #1C4921
monochromatic
#110816 #160B1D #371C49 #582D75 #7A3EA1

Accessibility & contrast

On white

14.74
#371C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C49
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C49#FFFFFF#000000##FFFFFF
##371C491.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274A
Deuteranopia (green-blind)
#172848
Tritanopia (blue-blind)
#35242F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c49;
/* rgb */ color: rgb(55, 28, 73);
/* oklch */ color: oklch(28.7% 0.084 309.8);
Tailwind
colors: {
  custom: {
    50: '#6f597c',
    500: '#371c49',
    950: '#000000',
  },
}
SCSS
$custom: #371c49;
$custom-light: #6f597c;
$custom-dark: #000000;
JSON
{
  "hex": "#371c49",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 276,
    "s": 44.554,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28658,
    "c": 0.08388,
    "h": 309.8
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#371C49
secondary
#5A7E42
accent
#D45487
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #371C49

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

Preview Lab → · Contrast checker → · Palette generator →

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