#370B42#370B42

#370B42 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.103 H 318.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#370B42
RGBrgb(55, 11, 66)
HSLhsl(288, 71%, 15%)
HSVhsv(288, 83%, 26%)
CMYKcmyk(16.7%, 83.3%, 0%, 74.1%)
CIE-LABlab(12.25, 30.37, -24.27)
CIE-LCHlch(12.25, 38.88, 321.37°)
OKLaboklab(25.7% 0.0775 -0.0681)
OKLCHoklch(25.7% 0.103 318.7)
XYZxyz(2.6785, 1.4450, 5.2910)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B42 #16420B
analogous
#1B0B42 #370B42 #420B31
triadic
#370B42 #42370B #0B4237
tetradic
#370B42 #421B0B #16420B #0B3142
square
#370B42 #421B0B #16420B #0B3142
split-complementary
#370B42 #31420B #0B421B
monochromatic
#16041A #16041A #370B42 #631476 #8E1CAB

Accessibility & contrast

On white

16.29
#370B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#370B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370B42
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B42#FFFFFF#000000##FFFFFF
##370B421.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#0E2141
Tritanopia (blue-blind)
#371626
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370b42;
/* rgb */ color: rgb(55, 11, 66);
/* oklch */ color: oklch(25.7% 0.103 318.7);
Tailwind
colors: {
  custom: {
    50: '#704f77',
    500: '#370b42',
    950: '#000000',
  },
}
SCSS
$custom: #370b42;
$custom-light: #704f77;
$custom-dark: #000000;
JSON
{
  "hex": "#370b42",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 288,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25699,
    "c": 0.10321,
    "h": 318.7
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#370B42
secondary
#3B7F2A
accent
#EE3A5E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370B42

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

Preview Lab → · Contrast checker → · Palette generator →

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