#372D52#372D52

#372D52 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.6% C 0.065 H 295.0°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#372D52
RGBrgb(55, 45, 82)
HSLhsl(256, 29%, 25%)
HSVhsv(256, 45%, 32%)
CMYKcmyk(32.9%, 45.1%, 0%, 67.8%)
CIE-LABlab(21.20, 14.10, -21.02)
CIE-LCHlch(21.20, 25.31, 303.86°)
OKLaboklab(32.63% 0.0274 -0.0588)
OKLCHoklch(32.63% 0.065 295)
XYZxyz(4.0366, 3.2981, 8.4049)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D52 #48522D
analogous
#2D3652 #372D52 #4A2D52
triadic
#372D52 #52372D #2D5237
tetradic
#372D52 #522D36 #48522D #2D524A
square
#372D52 #522D36 #48522D #2D524A
split-complementary
#372D52 #524A2D #36522D
monochromatic
#0D0B14 #1C172A #372D52 #52437A #6C58A1

Accessibility & contrast

On white

12.65
#372D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#372D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D52
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D52#FFFFFF#000000##FFFFFF
##372D521.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223353
Deuteranopia (green-blind)
#243251
Tritanopia (blue-blind)
#31343B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #372d52;
/* rgb */ color: rgb(55, 45, 82);
/* oklch */ color: oklch(32.6% 0.065 295.0);
Tailwind
colors: {
  custom: {
    50: '#6f6683',
    500: '#372d52',
    950: '#000000',
  },
}
SCSS
$custom: #372d52;
$custom-light: #6f6683;
$custom-dark: #000000;
JSON
{
  "hex": "#372d52",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 256.216,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.06491,
    "h": 295
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#372D52
secondary
#788457
accent
#C562AB
background
#F6F6F8
surface
#ECEBEF
border
#C7C6CA
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #372D52

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

Preview Lab → · Contrast checker → · Palette generator →

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