#371545#371545

#371545 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.091 H 314.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#371545
RGBrgb(55, 21, 69)
HSLhsl(283, 53%, 18%)
HSVhsv(283, 70%, 27%)
CMYKcmyk(20.3%, 69.6%, 0%, 72.9%)
CIE-LABlab(14.28, 26.05, -23.13)
CIE-LCHlch(14.28, 34.83, 318.40°)
OKLaboklab(27.22% 0.0643 -0.0649)
OKLCHoklch(27.22% 0.091 314.7)
XYZxyz(2.9177, 1.7783, 5.8186)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371545 #234515
analogous
#1F1545 #371545 #45153B
triadic
#371545 #453715 #154537
tetradic
#371545 #451F15 #234515 #153B45
square
#371545 #451F15 #234515 #153B45
split-complementary
#371545 #3B4515 #15451F
monochromatic
#130717 #130717 #371545 #5C2374 #8232A3

Accessibility & contrast

On white

15.49
#371545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#371545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371545
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371545#FFFFFF#000000##FFFFFF
##3715451.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052246
Deuteranopia (green-blind)
#142544
Tritanopia (blue-blind)
#361E2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371545;
/* rgb */ color: rgb(55, 21, 69);
/* oklch */ color: oklch(27.2% 0.091 314.7);
Tailwind
colors: {
  custom: {
    50: '#705579',
    500: '#371545',
    950: '#000000',
  },
}
SCSS
$custom: #371545;
$custom-light: #705579;
$custom-dark: #000000;
JSON
{
  "hex": "#371545",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 282.5,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27222,
    "c": 0.09134,
    "h": 314.7
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#371545
secondary
#4D7D39
accent
#DD4B76
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #371545

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

Preview Lab → · Contrast checker → · Palette generator →

#371545 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva