#371534#371534

#371534 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.1% C 0.072 H 330.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#371534
RGBrgb(55, 21, 52)
HSLhsl(305, 45%, 15%)
HSVhsv(305, 62%, 22%)
CMYKcmyk(0%, 61.8%, 5.5%, 78.4%)
CIE-LABlab(13.21, 22.07, -12.78)
CIE-LCHlch(13.21, 25.50, 329.92°)
OKLaboklab(26.09% 0.0626 -0.0349)
OKLCHoklch(26.09% 0.072 330.9)
XYZxyz(2.4635, 1.5966, 3.4266)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371534 #153718
analogous
#291537 #371534 #371523
triadic
#371534 #343715 #153437
tetradic
#371534 #372915 #153718 #152337
square
#371534 #372915 #153718 #152337
split-complementary
#371534 #233715 #153729
monochromatic
#160815 #160815 #371534 #63265E #903788

Accessibility & contrast

On white

15.92
#371534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#371534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371534
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371534#FFFFFF#000000##FFFFFF
##3715341.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F35
Deuteranopia (green-blind)
#1E2433
Tritanopia (blue-blind)
#391822
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #371534;
/* rgb */ color: rgb(55, 21, 52);
/* oklch */ color: oklch(26.1% 0.072 330.9);
Tailwind
colors: {
  custom: {
    50: '#6f546b',
    500: '#371534',
    950: '#000000',
  },
}
SCSS
$custom: #371534;
$custom-light: #6f546b;
$custom-dark: #000000;
JSON
{
  "hex": "#371534",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 305.294,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26094,
    "c": 0.0717,
    "h": 330.9
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#371534
secondary
#3A6E3E
accent
#D45F53
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #371534

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

Preview Lab → · Contrast checker → · Palette generator →

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