#371544#371544

#371544 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.1% C 0.090 H 315.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#371544
RGBrgb(55, 21, 68)
HSLhsl(283, 53%, 17%)
HSVhsv(283, 69%, 27%)
CMYKcmyk(19.1%, 69.1%, 0%, 73.3%)
CIE-LABlab(14.21, 25.80, -22.54)
CIE-LCHlch(14.21, 34.26, 318.85°)
OKLaboklab(27.15% 0.0643 -0.0632)
OKLCHoklch(27.15% 0.09 315.5)
XYZxyz(2.8869, 1.7660, 5.6565)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371544 #224415
analogous
#1F1544 #371544 #44153A
triadic
#371544 #443715 #154437
tetradic
#371544 #441F15 #224415 #153A44
square
#371544 #441F15 #224415 #153A44
split-complementary
#371544 #3A4415 #15441F
monochromatic
#130717 #130717 #371544 #5D2373 #8332A2

Accessibility & contrast

On white

15.52
#371544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#371544 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371544
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371544#FFFFFF#000000##FFFFFF
##3715441.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062245
Deuteranopia (green-blind)
#152543
Tritanopia (blue-blind)
#361D2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371544;
/* rgb */ color: rgb(55, 21, 68);
/* oklch */ color: oklch(27.1% 0.090 315.5);
Tailwind
colors: {
  custom: {
    50: '#705578',
    500: '#371544',
    950: '#000000',
  },
}
SCSS
$custom: #371544;
$custom-light: #705578;
$custom-dark: #000000;
JSON
{
  "hex": "#371544",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 283.404,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27149,
    "c": 0.09013,
    "h": 315.5
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#371544
secondary
#4B7C39
accent
#DC4C74
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #371544

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

Preview Lab → · Contrast checker → · Palette generator →

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