#370F40#370F40

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

Color values

HEX#370F40
RGBrgb(55, 15, 64)
HSLhsl(289, 62%, 15%)
HSVhsv(289, 77%, 25%)
CMYKcmyk(14.1%, 76.6%, 0%, 74.9%)
CIE-LABlab(12.76, 28.06, -22.05)
CIE-LCHlch(12.76, 35.68, 321.84°)
OKLaboklab(26.01% 0.0728 -0.0617)
OKLCHoklch(26.01% 0.095 319.7)
XYZxyz(2.6717, 1.5242, 5.0030)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F40 #18400F
analogous
#1E0F40 #370F40 #400F30
triadic
#370F40 #40370F #0F4037
tetradic
#370F40 #401E0F #18400F #0F3040
square
#370F40 #401E0F #18400F #0F3040
split-complementary
#370F40 #30400F #0F401E
monochromatic
#150619 #150619 #370F40 #621B72 #8C26A3

Accessibility & contrast

On white

16.09
#370F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##370F40#FFFFFF#000000##FFFFFF
##370F401.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E41
Deuteranopia (green-blind)
#13223F
Tritanopia (blue-blind)
#371826
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370f40;
/* rgb */ color: rgb(55, 15, 64);
/* oklch */ color: oklch(26.0% 0.095 319.7);
Tailwind
colors: {
  custom: {
    50: '#705175',
    500: '#370f40',
    950: '#000000',
  },
}
SCSS
$custom: #370f40;
$custom-light: #705175;
$custom-dark: #000000;
JSON
{
  "hex": "#370f40",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 288.98,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26013,
    "c": 0.0954,
    "h": 319.7
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#370F40
secondary
#3E7A30
accent
#E54361
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370F40

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

Preview Lab → · Contrast checker → · Palette generator →

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