#370E42#370E42

#370E42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.099 H 318.3°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#370E42
RGBrgb(55, 14, 66)
HSLhsl(287, 65%, 16%)
HSVhsv(287, 79%, 26%)
CMYKcmyk(16.7%, 78.8%, 0%, 74.1%)
CIE-LABlab(12.73, 29.01, -23.50)
CIE-LCHlch(12.73, 37.33, 320.99°)
OKLaboklab(26.04% 0.074 -0.0659)
OKLCHoklch(26.04% 0.099 318.3)
XYZxyz(2.7158, 1.5198, 5.3035)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E42 #19420E
analogous
#1D0E42 #370E42 #420E33
triadic
#370E42 #42370E #0E4237
tetradic
#370E42 #421D0E #19420E #0E3342
square
#370E42 #421D0E #19420E #0E3342
split-complementary
#370E42 #33420E #0E421D
monochromatic
#150519 #150519 #370E42 #611974 #8B23A7

Accessibility & contrast

On white

16.10
#370E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E42
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E42#FFFFFF#000000##FFFFFF
##370E421.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#112241
Tritanopia (blue-blind)
#371826
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370e42;
/* rgb */ color: rgb(55, 14, 66);
/* oklch */ color: oklch(26.0% 0.099 318.3);
Tailwind
colors: {
  custom: {
    50: '#705177',
    500: '#370e42',
    950: '#000000',
  },
}
SCSS
$custom: #370e42;
$custom-light: #705177;
$custom-dark: #000000;
JSON
{
  "hex": "#370e42",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 287.308,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2604,
    "c": 0.09907,
    "h": 318.3
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#370E42
secondary
#3F7D2F
accent
#E84063
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370E42

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

Preview Lab → · Contrast checker → · Palette generator →

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