#370E41#370E41

#370E41 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.098 H 319.1°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#370E41
RGBrgb(55, 14, 65)
HSLhsl(288, 65%, 15%)
HSVhsv(288, 78%, 25%)
CMYKcmyk(15.4%, 78.5%, 0%, 74.5%)
CIE-LABlab(12.66, 28.78, -22.91)
CIE-LCHlch(12.66, 36.79, 321.47°)
OKLaboklab(25.96% 0.074 -0.0642)
OKLCHoklch(25.96% 0.098 319.1)
XYZxyz(2.6866, 1.5081, 5.1496)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E41 #18410E
analogous
#1D0E41 #370E41 #410E31
triadic
#370E41 #41370E #0E4137
tetradic
#370E41 #411D0E #18410E #0E3141
square
#370E41 #411D0E #18410E #0E3141
split-complementary
#370E41 #31410E #0E411D
monochromatic
#150519 #150519 #370E41 #621973 #8C24A6

Accessibility & contrast

On white

16.13
#370E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370E41
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E41#FFFFFF#000000##FFFFFF
##370E411.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370e41;
/* rgb */ color: rgb(55, 14, 65);
/* oklch */ color: oklch(26.0% 0.098 319.1);
Tailwind
colors: {
  custom: {
    50: '#705176',
    500: '#370e41',
    950: '#000000',
  },
}
SCSS
$custom: #370e41;
$custom-light: #705176;
$custom-dark: #000000;
JSON
{
  "hex": "#370e41",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 288.235,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25964,
    "c": 0.09799,
    "h": 319.1
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#370E41
secondary
#3E7C2F
accent
#E84061
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370E41

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

Preview Lab → · Contrast checker → · Palette generator →

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