#370D40#370D40

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

Color values

HEX#370D40
RGBrgb(55, 13, 64)
HSLhsl(289, 66%, 15%)
HSVhsv(289, 80%, 25%)
CMYKcmyk(14.1%, 79.7%, 0%, 74.9%)
CIE-LABlab(12.42, 29.02, -22.59)
CIE-LCHlch(12.42, 36.78, 322.10°)
OKLaboklab(25.77% 0.0753 -0.0633)
OKLCHoklch(25.77% 0.098 320)
XYZxyz(2.6448, 1.4704, 4.9940)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D40 #16400D
analogous
#1E0D40 #370D40 #400D2F
triadic
#370D40 #40370D #0D4037
tetradic
#370D40 #401E0D #16400D #0D2F40
square
#370D40 #401E0D #16400D #0D2F40
split-complementary
#370D40 #2F400D #0D401E
monochromatic
#160519 #160519 #370D40 #631773 #8E22A6

Accessibility & contrast

On white

16.23
#370D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#370D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D40
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D40#FFFFFF#000000##FFFFFF
##370D401.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#11223F
Tritanopia (blue-blind)
#371725
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370d40;
/* rgb */ color: rgb(55, 13, 64);
/* oklch */ color: oklch(25.8% 0.098 320.0);
Tailwind
colors: {
  custom: {
    50: '#705075',
    500: '#370d40',
    950: '#000000',
  },
}
SCSS
$custom: #370d40;
$custom-light: #705075;
$custom-dark: #000000;
JSON
{
  "hex": "#370d40",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 289.412,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25768,
    "c": 0.09838,
    "h": 320
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#370D40
secondary
#3B7C2D
accent
#E93F5D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370D40

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

Preview Lab → · Contrast checker → · Palette generator →

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