#372A40#372A40

#372A40 is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.9% C 0.042 H 310.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#372A40
RGBrgb(55, 42, 64)
HSLhsl(275, 21%, 21%)
HSVhsv(275, 34%, 25%)
CMYKcmyk(14.1%, 34.4%, 0%, 74.9%)
CIE-LABlab(19.38, 11.07, -11.66)
CIE-LCHlch(19.38, 16.07, 313.52°)
OKLaboklab(30.94% 0.0277 -0.0319)
OKLCHoklch(30.94% 0.042 310.9)
XYZxyz(3.3288, 2.8384, 5.2220)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A40 #33402A
analogous
#2C2A40 #372A40 #402A3E
triadic
#372A40 #40372A #2A4037
tetradic
#372A40 #402C2A #33402A #2A3E40
square
#372A40 #402C2A #33402A #2A3E40
split-complementary
#372A40 #3E402A #2A402C
monochromatic
#100C12 #17121B #372A40 #574265 #775A8A

Accessibility & contrast

On white

13.40
#372A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#372A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A40
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A40#FFFFFF#000000##FFFFFF
##372A401.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#362D32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #372a40;
/* rgb */ color: rgb(55, 42, 64);
/* oklch */ color: oklch(30.9% 0.042 310.9);
Tailwind
colors: {
  custom: {
    50: '#6e6375',
    500: '#372a40',
    950: '#000000',
  },
}
SCSS
$custom: #372a40;
$custom-light: #6e6375;
$custom-dark: #000000;
JSON
{
  "hex": "#372a40",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 275.455,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30939,
    "c": 0.04226,
    "h": 310.9
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#372A40
secondary
#607155
accent
#BD6A8C
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #372A40

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

Preview Lab → · Contrast checker → · Palette generator →

#372A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva