#370837#370837

#370837 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.096 H 328.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#370837
RGBrgb(55, 8, 55)
HSLhsl(300, 75%, 12%)
HSVhsv(300, 85%, 22%)
CMYKcmyk(0%, 85.5%, 0%, 78.4%)
CIE-LABlab(11.01, 29.29, -18.41)
CIE-LCHlch(11.01, 34.60, 327.85°)
OKLaboklab(24.55% 0.0817 -0.051)
OKLCHoklch(24.55% 0.096 328)
XYZxyz(2.3519, 1.2619, 3.7334)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370837 #083708
analogous
#200837 #370837 #370820
triadic
#370837 #373708 #083737
tetradic
#370837 #372008 #083708 #082037
square
#370837 #372008 #083708 #082037
split-complementary
#370837 #203708 #083720
monochromatic
#1B041B #1B041B #370837 #6C106C #A218A2

Accessibility & contrast

On white

16.77
#370837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#370837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370837
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370837#FFFFFF#000000##FFFFFF
##3708371.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A38
Deuteranopia (green-blind)
#152036
Tritanopia (blue-blind)
#390F1F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #370837;
/* rgb */ color: rgb(55, 8, 55);
/* oklch */ color: oklch(24.6% 0.096 328.0);
Tailwind
colors: {
  custom: {
    50: '#704d6e',
    500: '#370837',
    950: '#000000',
  },
}
SCSS
$custom: #370837;
$custom-light: #704d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#370837",
  "rgb": {
    "r": 55,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 300,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24553,
    "c": 0.09636,
    "h": 328
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#370837
secondary
#257625
accent
#F13737
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #370837

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

Preview Lab → · Contrast checker → · Palette generator →

#370837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva