#370D45#370D45

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

Color values

HEX#370D45
RGBrgb(55, 13, 69)
HSLhsl(285, 68%, 16%)
HSVhsv(285, 81%, 27%)
CMYKcmyk(20.3%, 81.2%, 0%, 72.9%)
CIE-LABlab(12.80, 30.18, -25.50)
CIE-LCHlch(12.80, 39.51, 319.80°)
OKLaboklab(26.16% 0.0749 -0.0718)
OKLCHoklch(26.16% 0.104 316.2)
XYZxyz(2.7935, 1.5299, 5.7772)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D45 #1B450D
analogous
#1B0D45 #370D45 #450D37
triadic
#370D45 #45370D #0D4537
tetradic
#370D45 #451B0D #1B450D #0D3745
square
#370D45 #451B0D #1B450D #0D3745
split-complementary
#370D45 #37450D #0D451B
monochromatic
#15051A #15051A #370D45 #601778 #8920AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##370D45#FFFFFF#000000##FFFFFF
##370D451.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)
#001F47
Deuteranopia (green-blind)
#0D2244
Tritanopia (blue-blind)
#361928
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370d45;
/* rgb */ color: rgb(55, 13, 69);
/* oklch */ color: oklch(26.2% 0.104 316.2);
Tailwind
colors: {
  custom: {
    50: '#705079',
    500: '#370d45',
    950: '#000000',
  },
}
SCSS
$custom: #370d45;
$custom-light: #705079;
$custom-dark: #000000;
JSON
{
  "hex": "#370d45",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 285,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26158,
    "c": 0.10371,
    "h": 316.2
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#370D45
secondary
#42802D
accent
#EB3D68
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370D45

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

Preview Lab → · Contrast checker → · Palette generator →

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