#370C47#370C47

#370C47 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.107 H 314.9°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#370C47
RGBrgb(55, 12, 71)
HSLhsl(284, 71%, 16%)
HSVhsv(284, 83%, 28%)
CMYKcmyk(22.5%, 83.1%, 0%, 72.2%)
CIE-LABlab(12.80, 31.10, -26.90)
CIE-LCHlch(12.80, 41.12, 319.14°)
OKLaboklab(26.21% 0.0757 -0.0759)
OKLCHoklch(26.21% 0.107 314.9)
XYZxyz(2.8442, 1.5302, 6.1056)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C47 #1C470C
analogous
#1A0C47 #370C47 #470C3A
triadic
#370C47 #47370C #0C4737
tetradic
#370C47 #471A0C #1C470C #0C3A47
square
#370C47 #471A0C #1C470C #0C3A47
split-complementary
#370C47 #3A470C #0C471A
monochromatic
#14041A #14041A #370C47 #60157B #881EB0

Accessibility & contrast

On white

16.08
#370C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C47
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C47#FFFFFF#000000##FFFFFF
##370C471.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#092246
Tritanopia (blue-blind)
#361929
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370c47;
/* rgb */ color: rgb(55, 12, 71);
/* oklch */ color: oklch(26.2% 0.107 314.9);
Tailwind
colors: {
  custom: {
    50: '#70507b',
    500: '#370c47',
    950: '#000000',
  },
}
SCSS
$custom: #370c47;
$custom-light: #70507b;
$custom-dark: #000000;
JSON
{
  "hex": "#370c47",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 283.729,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2621,
    "c": 0.10717,
    "h": 314.9
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#370C47
secondary
#43832C
accent
#EE3A6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370C47

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

Preview Lab → · Contrast checker → · Palette generator →

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