#370C4A#370C4A

#370C4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.110 H 312.9°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#370C4A
RGBrgb(55, 12, 74)
HSLhsl(282, 72%, 17%)
HSVhsv(282, 84%, 29%)
CMYKcmyk(25.7%, 83.8%, 0%, 71%)
CIE-LABlab(13.04, 31.81, -28.59)
CIE-LCHlch(13.04, 42.77, 318.06°)
OKLaboklab(26.46% 0.0752 -0.0808)
OKLCHoklch(26.46% 0.11 312.9)
XYZxyz(2.9428, 1.5697, 6.6252)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C4A #1F4A0C
analogous
#180C4A #370C4A #4A0C3E
triadic
#370C4A #4A370C #0C4A37
tetradic
#370C4A #4A180C #1F4A0C #0C3E4A
square
#370C4A #4A180C #1F4A0C #0C3E4A
split-complementary
#370C4A #3E4A0C #0C4A18
monochromatic
#14041A #14041A #370C4A #5E157F #851DB3

Accessibility & contrast

On white

15.98
#370C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#370C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370C4A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C4A#FFFFFF#000000##FFFFFF
##370C4A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#052349
Tritanopia (blue-blind)
#351A2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370c4a;
/* rgb */ color: rgb(55, 12, 74);
/* oklch */ color: oklch(26.5% 0.110 312.9);
Tailwind
colors: {
  custom: {
    50: '#71507d',
    500: '#370c4a',
    950: '#000000',
  },
}
SCSS
$custom: #370c4a;
$custom-light: #71507d;
$custom-dark: #000000;
JSON
{
  "hex": "#370c4a",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 281.613,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26461,
    "c": 0.11037,
    "h": 312.9
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#370C4A
secondary
#48862C
accent
#EF3971
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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