#370431#370431

#370431 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.097 H 333.7°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#370431
RGBrgb(55, 4, 49)
HSLhsl(307, 86%, 12%)
HSVhsv(307, 93%, 22%)
CMYKcmyk(0%, 92.7%, 10.9%, 78.4%)
CIE-LABlab(9.96, 30.02, -15.69)
CIE-LCHlch(9.96, 33.87, 332.40°)
OKLaboklab(23.68% 0.0871 -0.0431)
OKLCHoklch(23.68% 0.097 333.7)
XYZxyz(2.1734, 1.1210, 3.0070)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370431 #04370A
analogous
#240437 #370431 #370418
triadic
#370431 #313704 #043137
tetradic
#370431 #372404 #04370A #041837
square
#370431 #372404 #04370A #041837
split-complementary
#370431 #183704 #043724
monochromatic
#1D0219 #1D0219 #370431 #700864 #A90C97

Accessibility & contrast

On white

17.15
#370431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#370431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370431
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370431#FFFFFF#000000##FFFFFF
##3704311.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#161E30
Tritanopia (blue-blind)
#3A091A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #370431;
/* rgb */ color: rgb(55, 4, 49);
/* oklch */ color: oklch(23.7% 0.097 333.7);
Tailwind
colors: {
  custom: {
    50: '#704b69',
    500: '#370431',
    950: '#000000',
  },
}
SCSS
$custom: #370431;
$custom-light: #704b69;
$custom-dark: #000000;
JSON
{
  "hex": "#370431",
  "rgb": {
    "r": 55,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 307.059,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23677,
    "c": 0.09714,
    "h": 333.7
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#370431
secondary
#1E7929
accent
#FD442B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #370431

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

Preview Lab → · Contrast checker → · Palette generator →

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