#371334#371334

#371334 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.076 H 330.8°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#371334
RGBrgb(55, 19, 52)
HSLhsl(305, 49%, 15%)
HSVhsv(305, 65%, 22%)
CMYKcmyk(0%, 65.5%, 5.5%, 78.4%)
CIE-LABlab(12.77, 23.24, -13.46)
CIE-LCHlch(12.77, 26.86, 329.92°)
OKLaboklab(25.77% 0.066 -0.0368)
OKLCHoklch(25.77% 0.076 330.8)
XYZxyz(2.4282, 1.5261, 3.4148)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371334 #133716
analogous
#281337 #371334 #371322
triadic
#371334 #343713 #133437
tetradic
#371334 #372813 #133716 #132237
square
#371334 #372813 #133716 #132237
split-complementary
#371334 #223713 #133728
monochromatic
#170816 #170816 #371334 #64235F #92328A

Accessibility & contrast

On white

16.09
#371334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#371334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371334
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371334#FFFFFF#000000##FFFFFF
##3713341.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E35
Deuteranopia (green-blind)
#1C2333
Tritanopia (blue-blind)
#391621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #371334;
/* rgb */ color: rgb(55, 19, 52);
/* oklch */ color: oklch(25.8% 0.076 330.8);
Tailwind
colors: {
  custom: {
    50: '#6f536b',
    500: '#371334',
    950: '#000000',
  },
}
SCSS
$custom: #371334;
$custom-light: #6f536b;
$custom-dark: #000000;
JSON
{
  "hex": "#371334",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 305,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25773,
    "c": 0.07557,
    "h": 330.8
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#371334
secondary
#376F3B
accent
#D85B50
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #371334

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

Preview Lab → · Contrast checker → · Palette generator →

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