#370C38#370C38

#370C38 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.092 H 326.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#370C38
RGBrgb(55, 12, 56)
HSLhsl(299, 65%, 13%)
HSVhsv(299, 79%, 22%)
CMYKcmyk(1.8%, 78.6%, 0%, 78%)
CIE-LABlab(11.69, 27.74, -18.04)
CIE-LCHlch(11.69, 33.09, 326.96°)
OKLaboklab(25.07% 0.0768 -0.05)
OKLCHoklch(25.07% 0.092 326.9)
XYZxyz(2.4208, 1.3609, 3.8758)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C38 #0D380C
analogous
#210C38 #370C38 #380C23
triadic
#370C38 #38370C #0C3837
tetradic
#370C38 #38210C #0D380C #0C2338
square
#370C38 #38210C #0D380C #0C2338
split-complementary
#370C38 #23380C #0C3821
monochromatic
#190519 #190519 #370C38 #68176A #9A229D

Accessibility & contrast

On white

16.51
#370C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#370C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370C38
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C38#FFFFFF#000000##FFFFFF
##370C381.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B39
Deuteranopia (green-blind)
#162137
Tritanopia (blue-blind)
#391220
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370c38;
/* rgb */ color: rgb(55, 12, 56);
/* oklch */ color: oklch(25.1% 0.092 326.9);
Tailwind
colors: {
  custom: {
    50: '#704f6f',
    500: '#370c38',
    950: '#000000',
  },
}
SCSS
$custom: #370c38;
$custom-light: #704f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#370c38",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 298.636,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25068,
    "c": 0.09161,
    "h": 326.9
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#370C38
secondary
#2D742C
accent
#E84044
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #370C38

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

Preview Lab → · Contrast checker → · Palette generator →

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