#371D4E#371D4E

#371D4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.089 H 306.1°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#371D4E
RGBrgb(55, 29, 78)
HSLhsl(272, 46%, 21%)
HSVhsv(272, 63%, 31%)
CMYKcmyk(29.5%, 62.8%, 0%, 69.4%)
CIE-LABlab(16.70, 23.61, -25.45)
CIE-LCHlch(16.70, 34.72, 312.86°)
OKLaboklab(29.19% 0.0524 -0.0717)
OKLCHoklch(29.19% 0.089 306.1)
XYZxyz(3.3898, 2.2410, 7.4602)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D4E #344E1D
analogous
#1E1D4E #371D4E #4E1D4C
triadic
#371D4E #4E371D #1D4E37
tetradic
#371D4E #4E1E1D #344E1D #1D4C4E
square
#371D4E #4E1E1D #344E1D #1D4C4E
split-complementary
#371D4E #4C4E1D #1D4E1E
monochromatic
#100816 #180C21 #371D4E #562E7B #763EA7

Accessibility & contrast

On white

14.50
#371D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D4E
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D4E#FFFFFF#000000##FFFFFF
##371D4E1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2850
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#332632
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371d4e;
/* rgb */ color: rgb(55, 29, 78);
/* oklch */ color: oklch(29.2% 0.089 306.1);
Tailwind
colors: {
  custom: {
    50: '#705a80',
    500: '#371d4e',
    950: '#000000',
  },
}
SCSS
$custom: #371d4e;
$custom-light: #705a80;
$custom-dark: #000000;
JSON
{
  "hex": "#371d4e",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 271.837,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.08883,
    "h": 306.1
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#371D4E
secondary
#618344
accent
#D55290
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #371D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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