#371447#371447

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

Color values

HEX#371447
RGBrgb(55, 20, 71)
HSLhsl(281, 56%, 18%)
HSVhsv(281, 72%, 28%)
CMYKcmyk(22.5%, 71.8%, 0%, 72.2%)
CIE-LABlab(14.22, 27.11, -24.62)
CIE-LCHlch(14.22, 36.62, 317.76°)
OKLaboklab(27.22% 0.0657 -0.0692)
OKLCHoklch(27.22% 0.095 313.5)
XYZxyz(2.9628, 1.7676, 6.1451)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371447 #244714
analogous
#1D1447 #371447 #47143D
triadic
#371447 #473714 #144737
tetradic
#371447 #471D14 #244714 #143D47
square
#371447 #471D14 #244714 #143D47
split-complementary
#371447 #3D4714 #14471D
monochromatic
#120718 #120718 #371447 #5C2177 #812FA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##371447#FFFFFF#000000##FFFFFF
##3714471.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)
#012249
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#351E2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371447;
/* rgb */ color: rgb(55, 20, 71);
/* oklch */ color: oklch(27.2% 0.095 313.5);
Tailwind
colors: {
  custom: {
    50: '#70547a',
    500: '#371447',
    950: '#000000',
  },
}
SCSS
$custom: #371447;
$custom-light: #70547a;
$custom-dark: #000000;
JSON
{
  "hex": "#371447",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 281.176,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27224,
    "c": 0.09542,
    "h": 313.5
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#371447
secondary
#4E7F38
accent
#DF4878
background
#F6F4F7
surface
#ECE8ED
border
#C7C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #371447

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

Preview Lab → · Contrast checker → · Palette generator →

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