#370F31#370F31

#370F31 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.080 H 334.1°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#370F31
RGBrgb(55, 15, 49)
HSLhsl(309, 57%, 14%)
HSVhsv(309, 73%, 22%)
CMYKcmyk(0%, 72.7%, 10.9%, 78.4%)
CIE-LABlab(11.80, 24.83, -12.81)
CIE-LCHlch(11.80, 27.94, 332.70°)
OKLaboklab(25% 0.0718 -0.0349)
OKLCHoklch(25% 0.08 334.1)
XYZxyz(2.3008, 1.3758, 3.0495)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F31 #0F3715
analogous
#290F37 #370F31 #370F1D
triadic
#370F31 #31370F #0F3137
tetradic
#370F31 #37290F #0F3715 #0F1D37
square
#370F31 #37290F #0F3715 #0F1D37
split-complementary
#370F31 #1D370F #0F3729
monochromatic
#180715 #180715 #370F31 #671C5C #972987

Accessibility & contrast

On white

16.47
#370F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F31
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F31#FFFFFF#000000##FFFFFF
##370F311.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1B32
Deuteranopia (green-blind)
#1B2130
Tritanopia (blue-blind)
#3A121E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370f31;
/* rgb */ color: rgb(55, 15, 49);
/* oklch */ color: oklch(25.0% 0.080 334.1);
Tailwind
colors: {
  custom: {
    50: '#6f5069',
    500: '#370f31',
    950: '#000000',
  },
}
SCSS
$custom: #370f31;
$custom-light: #6f5069;
$custom-dark: #000000;
JSON
{
  "hex": "#370f31",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 309,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25002,
    "c": 0.07989,
    "h": 334.1
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#370F31
secondary
#31713A
accent
#E05E47
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #370F31

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

Preview Lab → · Contrast checker → · Palette generator →

#370F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva