#372C4E#372C4E

#372C4E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.2% C 0.060 H 297.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#372C4E
RGBrgb(55, 44, 78)
HSLhsl(259, 28%, 24%)
HSVhsv(259, 44%, 31%)
CMYKcmyk(29.5%, 43.6%, 0%, 69.4%)
CIE-LABlab(20.69, 13.60, -19.14)
CIE-LCHlch(20.69, 23.48, 305.38°)
OKLaboklab(32.17% 0.0282 -0.0534)
OKLCHoklch(32.17% 0.06 297.8)
XYZxyz(3.8511, 3.1636, 7.6140)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C4E #434E2C
analogous
#2C324E #372C4E #482C4E
triadic
#372C4E #4E372C #2C4E37
tetradic
#372C4E #4E2C32 #434E2C #2C4E48
square
#372C4E #4E2C32 #434E2C #2C4E48
split-complementary
#372C4E #4E482C #324E2C
monochromatic
#0E0B14 #1B1627 #372C4E #534275 #6E589C

Accessibility & contrast

On white

12.86
#372C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#372C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C4E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C4E#FFFFFF#000000##FFFFFF
##372C4E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#25314D
Tritanopia (blue-blind)
#323239
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #372c4e;
/* rgb */ color: rgb(55, 44, 78);
/* oklch */ color: oklch(32.2% 0.060 297.8);
Tailwind
colors: {
  custom: {
    50: '#6f657f',
    500: '#372c4e',
    950: '#000000',
  },
}
SCSS
$custom: #372c4e;
$custom-light: #6f657f;
$custom-dark: #000000;
JSON
{
  "hex": "#372c4e",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 259.412,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32168,
    "c": 0.06037,
    "h": 297.8
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#372C4E
secondary
#728056
accent
#C464A5
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #372C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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