#372B4E#372B4E

#372B4E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.0% C 0.062 H 298.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#372B4E
RGBrgb(55, 43, 78)
HSLhsl(261, 29%, 24%)
HSVhsv(261, 45%, 31%)
CMYKcmyk(29.5%, 44.9%, 0%, 69.4%)
CIE-LABlab(20.40, 14.28, -19.59)
CIE-LCHlch(20.40, 24.25, 306.09°)
OKLaboklab(31.95% 0.0298 -0.0547)
OKLCHoklch(31.95% 0.062 298.6)
XYZxyz(3.8143, 3.0900, 7.6017)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B4E #424E2B
analogous
#2B304E #372B4E #482B4E
triadic
#372B4E #4E372B #2B4E37
tetradic
#372B4E #4E2B30 #424E2B #2B4E48
square
#372B4E #4E2B30 #424E2B #2B4E48
split-complementary
#372B4E #4E482B #304E2B
monochromatic
#0E0B14 #1B1527 #372B4E #534175 #6F569D

Accessibility & contrast

On white

12.98
#372B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#372B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B4E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B4E#FFFFFF#000000##FFFFFF
##372B4E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#323138
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #372b4e;
/* rgb */ color: rgb(55, 43, 78);
/* oklch */ color: oklch(32.0% 0.062 298.6);
Tailwind
colors: {
  custom: {
    50: '#6f647f',
    500: '#372b4e',
    950: '#000000',
  },
}
SCSS
$custom: #372b4e;
$custom-light: #6f647f;
$custom-dark: #000000;
JSON
{
  "hex": "#372b4e",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 260.571,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.06231,
    "h": 298.6
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#372B4E
secondary
#718055
accent
#C563A3
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #372B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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