#370838#370838

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

Color values

HEX#370838
RGBrgb(55, 8, 56)
HSLhsl(299, 75%, 13%)
HSVhsv(299, 86%, 22%)
CMYKcmyk(1.8%, 85.7%, 0%, 78%)
CIE-LABlab(11.08, 29.50, -19.02)
CIE-LCHlch(11.08, 35.10, 327.18°)
OKLaboklab(24.62% 0.0817 -0.0528)
OKLCHoklch(24.62% 0.097 327.1)
XYZxyz(2.3762, 1.2716, 3.8609)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370838 #093808
analogous
#1F0838 #370838 #380821
triadic
#370838 #383708 #083837
tetradic
#370838 #381F08 #093808 #082138
square
#370838 #381F08 #093808 #082138
split-complementary
#370838 #213808 #08381F
monochromatic
#1A041B #1A041B #370838 #6C106E #A017A3

Accessibility & contrast

On white

16.74
#370838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370838
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370838#FFFFFF#000000##FFFFFF
##3708381.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A39
Deuteranopia (green-blind)
#142037
Tritanopia (blue-blind)
#39101F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #370838;
/* rgb */ color: rgb(55, 8, 56);
/* oklch */ color: oklch(24.6% 0.097 327.1);
Tailwind
colors: {
  custom: {
    50: '#704d6f',
    500: '#370838',
    950: '#000000',
  },
}
SCSS
$custom: #370838;
$custom-light: #704d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#370838",
  "rgb": {
    "r": 55,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 298.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24624,
    "c": 0.09731,
    "h": 327.1
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#370838
secondary
#277725
accent
#F2363A
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #370838

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

Preview Lab → · Contrast checker → · Palette generator →

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