#370F41#370F41

#370F41 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.096 H 318.9°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#370F41
RGBrgb(55, 15, 65)
HSLhsl(288, 63%, 16%)
HSVhsv(288, 77%, 25%)
CMYKcmyk(15.4%, 76.9%, 0%, 74.5%)
CIE-LABlab(12.83, 28.29, -22.64)
CIE-LCHlch(12.83, 36.23, 321.33°)
OKLaboklab(26.09% 0.0727 -0.0634)
OKLCHoklch(26.09% 0.096 318.9)
XYZxyz(2.7004, 1.5357, 5.1542)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F41 #19410F
analogous
#1E0F41 #370F41 #410F32
triadic
#370F41 #41370F #0F4137
tetradic
#370F41 #411E0F #19410F #0F3241
square
#370F41 #411E0F #19410F #0F3241
split-complementary
#370F41 #32410F #0F411E
monochromatic
#150619 #150619 #370F41 #611A73 #8B26A4

Accessibility & contrast

On white

16.06
#370F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#370F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F41
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F41#FFFFFF#000000##FFFFFF
##370F411.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F42
Deuteranopia (green-blind)
#122340
Tritanopia (blue-blind)
#371826
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370f41;
/* rgb */ color: rgb(55, 15, 65);
/* oklch */ color: oklch(26.1% 0.096 318.9);
Tailwind
colors: {
  custom: {
    50: '#705176',
    500: '#370f41',
    950: '#000000',
  },
}
SCSS
$custom: #370f41;
$custom-light: #705176;
$custom-dark: #000000;
JSON
{
  "hex": "#370f41",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 288,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26088,
    "c": 0.09648,
    "h": 318.9
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#370F41
secondary
#3F7B30
accent
#E64263
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370F41

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

Preview Lab → · Contrast checker → · Palette generator →

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