#370731#370731

#370731 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.092 H 333.7°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#370731
RGBrgb(55, 7, 49)
HSLhsl(308, 77%, 12%)
HSVhsv(308, 87%, 22%)
CMYKcmyk(0%, 87.3%, 10.9%, 78.4%)
CIE-LABlab(10.45, 28.59, -14.92)
CIE-LCHlch(10.45, 32.25, 332.45°)
OKLaboklab(24.03% 0.0829 -0.0409)
OKLCHoklch(24.03% 0.092 333.7)
XYZxyz(2.2059, 1.1861, 3.0179)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370731 #07370D
analogous
#250737 #370731 #370719
triadic
#370731 #313707 #073137
tetradic
#370731 #372507 #07370D #071937
square
#370731 #372507 #07370D #071937
split-complementary
#370731 #193707 #073725
monochromatic
#1B0318 #1B0318 #370731 #6D0E61 #A41592

Accessibility & contrast

On white

16.97
#370731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#370731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370731
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370731#FFFFFF#000000##FFFFFF
##3707311.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061832
Deuteranopia (green-blind)
#181F30
Tritanopia (blue-blind)
#3A0C1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #370731;
/* rgb */ color: rgb(55, 7, 49);
/* oklch */ color: oklch(24.0% 0.092 333.7);
Tailwind
colors: {
  custom: {
    50: '#704d69',
    500: '#370731',
    950: '#000000',
  },
}
SCSS
$custom: #370731;
$custom-light: #704d69;
$custom-dark: #000000;
JSON
{
  "hex": "#370731",
  "rgb": {
    "r": 55,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 307.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2403,
    "c": 0.09242,
    "h": 333.7
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#370731
secondary
#23772E
accent
#F44C34
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #370731

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

Preview Lab → · Contrast checker → · Palette generator →

#370731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva