#370B47#370B47

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

Color values

HEX#370B47
RGBrgb(55, 11, 71)
HSLhsl(284, 73%, 16%)
HSVhsv(284, 85%, 28%)
CMYKcmyk(22.5%, 84.5%, 0%, 72.2%)
CIE-LABlab(12.65, 31.52, -27.14)
CIE-LCHlch(12.65, 41.60, 319.28°)
OKLaboklab(26.11% 0.0768 -0.0766)
OKLCHoklch(26.11% 0.108 315.1)
XYZxyz(2.8324, 1.5066, 6.1016)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B47 #1B470B
analogous
#190B47 #370B47 #470B39
triadic
#370B47 #47370B #0B4737
tetradic
#370B47 #47190B #1B470B #0B3947
square
#370B47 #47190B #1B470B #0B3947
split-complementary
#370B47 #39470B #0B4719
monochromatic
#15041A #15041A #370B47 #60137C #891BB1

Accessibility & contrast

On white

16.14
#370B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370B47
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B47#FFFFFF#000000##FFFFFF
##370B471.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#082246
Tritanopia (blue-blind)
#361828
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370b47;
/* rgb */ color: rgb(55, 11, 71);
/* oklch */ color: oklch(26.1% 0.108 315.1);
Tailwind
colors: {
  custom: {
    50: '#71507b',
    500: '#370b47',
    950: '#000000',
  },
}
SCSS
$custom: #370b47;
$custom-light: #71507b;
$custom-dark: #000000;
JSON
{
  "hex": "#370b47",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 284,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26105,
    "c": 0.10842,
    "h": 315.1
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#370B47
secondary
#42832A
accent
#F03869
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370B47

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

Preview Lab → · Contrast checker → · Palette generator →

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