#370C48#370C48

#370C48 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.108 H 314.2°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#370C48
RGBrgb(55, 12, 72)
HSLhsl(283, 71%, 16%)
HSVhsv(283, 83%, 28%)
CMYKcmyk(23.6%, 83.3%, 0%, 71.8%)
CIE-LABlab(12.88, 31.34, -27.46)
CIE-LCHlch(12.88, 41.67, 318.77°)
OKLaboklab(26.29% 0.0755 -0.0775)
OKLCHoklch(26.29% 0.108 314.2)
XYZxyz(2.8765, 1.5431, 6.2760)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C48 #1D480C
analogous
#190C48 #370C48 #480C3B
triadic
#370C48 #48370C #0C4837
tetradic
#370C48 #48190C #1D480C #0C3B48
square
#370C48 #48190C #1D480C #0C3B48
split-complementary
#370C48 #3B480C #0C4819
monochromatic
#14041A #14041A #370C48 #5F157C #871DB1

Accessibility & contrast

On white

16.05
#370C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C48
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C48#FFFFFF#000000##FFFFFF
##370C481.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#082247
Tritanopia (blue-blind)
#351929
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370c48;
/* rgb */ color: rgb(55, 12, 72);
/* oklch */ color: oklch(26.3% 0.108 314.2);
Tailwind
colors: {
  custom: {
    50: '#71507b',
    500: '#370c48',
    950: '#000000',
  },
}
SCSS
$custom: #370c48;
$custom-light: #71507b;
$custom-dark: #000000;
JSON
{
  "hex": "#370c48",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 283,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26293,
    "c": 0.10823,
    "h": 314.2
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#370C48
secondary
#45842C
accent
#EE3A6D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370C48

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

Preview Lab → · Contrast checker → · Palette generator →

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