#370D42#370D42

#370D42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.101 H 318.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#370D42
RGBrgb(55, 13, 66)
HSLhsl(288, 67%, 15%)
HSVhsv(288, 80%, 26%)
CMYKcmyk(16.7%, 80.3%, 0%, 74.1%)
CIE-LABlab(12.57, 29.48, -23.77)
CIE-LCHlch(12.57, 37.87, 321.12°)
OKLaboklab(25.92% 0.0752 -0.0667)
OKLCHoklch(25.92% 0.101 318.4)
XYZxyz(2.7027, 1.4935, 5.2991)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D42 #18420D
analogous
#1C0D42 #370D42 #420D32
triadic
#370D42 #42370D #0D4237
tetradic
#370D42 #421C0D #18420D #0D3242
square
#370D42 #421C0D #18420D #0D3242
split-complementary
#370D42 #32420D #0D421C
monochromatic
#15051A #15051A #370D42 #621775 #8C21A8

Accessibility & contrast

On white

16.17
#370D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370D42
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D42#FFFFFF#000000##FFFFFF
##370D421.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#102241
Tritanopia (blue-blind)
#371726
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370d42;
/* rgb */ color: rgb(55, 13, 66);
/* oklch */ color: oklch(25.9% 0.101 318.4);
Tailwind
colors: {
  custom: {
    50: '#705077',
    500: '#370d42',
    950: '#000000',
  },
}
SCSS
$custom: #370d42;
$custom-light: #705077;
$custom-dark: #000000;
JSON
{
  "hex": "#370d42",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 287.547,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25921,
    "c": 0.1005,
    "h": 318.4
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#370D42
secondary
#3E7E2D
accent
#EA3E62
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370D42

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

Preview Lab → · Contrast checker → · Palette generator →

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