#370F42#370F42

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

Color values

HEX#370F42
RGBrgb(55, 15, 66)
HSLhsl(287, 63%, 16%)
HSVhsv(287, 77%, 26%)
CMYKcmyk(16.7%, 77.3%, 0%, 74.1%)
CIE-LABlab(12.91, 28.52, -23.22)
CIE-LCHlch(12.91, 36.78, 320.85°)
OKLaboklab(26.16% 0.0727 -0.0651)
OKLCHoklch(26.16% 0.098 318.1)
XYZxyz(2.7296, 1.5473, 5.3081)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F42 #1A420F
analogous
#1D0F42 #370F42 #420F33
triadic
#370F42 #42370F #0F4237
tetradic
#370F42 #421D0F #1A420F #0F3342
square
#370F42 #421D0F #1A420F #0F3342
split-complementary
#370F42 #33420F #0F421D
monochromatic
#150619 #150619 #370F42 #611A74 #8A26A6

Accessibility & contrast

On white

16.04
#370F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F42
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F42#FFFFFF#000000##FFFFFF
##370F421.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#112341
Tritanopia (blue-blind)
#371927
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370f42;
/* rgb */ color: rgb(55, 15, 66);
/* oklch */ color: oklch(26.2% 0.098 318.1);
Tailwind
colors: {
  custom: {
    50: '#705177',
    500: '#370f42',
    950: '#000000',
  },
}
SCSS
$custom: #370f42;
$custom-light: #705177;
$custom-dark: #000000;
JSON
{
  "hex": "#370f42",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 287.059,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26164,
    "c": 0.09759,
    "h": 318.1
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#370F42
secondary
#417C30
accent
#E64265
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370F42

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

Preview Lab → · Contrast checker → · Palette generator →

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