#371C47#371C47

#371C47 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.5% C 0.081 H 311.3°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#371C47
RGBrgb(55, 28, 71)
HSLhsl(278, 43%, 19%)
HSVhsv(278, 61%, 28%)
CMYKcmyk(22.5%, 60.6%, 0%, 72.2%)
CIE-LABlab(15.99, 22.33, -21.79)
CIE-LCHlch(15.99, 31.20, 315.71°)
OKLaboklab(28.52% 0.0536 -0.061)
OKLCHoklch(28.52% 0.081 311.3)
XYZxyz(3.1279, 2.0977, 6.2001)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C47 #2C471C
analogous
#221C47 #371C47 #471C42
triadic
#371C47 #47371C #1C4737
tetradic
#371C47 #47221C #2C471C #1C4247
square
#371C47 #47221C #2C471C #1C4247
split-complementary
#371C47 #42471C #1C4722
monochromatic
#110916 #150B1B #371C47 #592D73 #7B3F9F

Accessibility & contrast

On white

14.79
#371C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C47
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C47#FFFFFF#000000##FFFFFF
##371C471.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102648
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#35232E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371c47;
/* rgb */ color: rgb(55, 28, 71);
/* oklch */ color: oklch(28.5% 0.081 311.3);
Tailwind
colors: {
  custom: {
    50: '#6f597a',
    500: '#371c47',
    950: '#000000',
  },
}
SCSS
$custom: #371c47;
$custom-light: #6f597a;
$custom-dark: #000000;
JSON
{
  "hex": "#371c47",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 277.674,
    "s": 43.434,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28518,
    "c": 0.08119,
    "h": 311.3
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#371C47
secondary
#587C42
accent
#D35584
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #371C47

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

Preview Lab → · Contrast checker → · Palette generator →

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