#372C63#372C63

#372C63 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.6% C 0.093 H 289.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#372C63
RGBrgb(55, 44, 99)
HSLhsl(252, 38%, 28%)
HSVhsv(252, 56%, 39%)
CMYKcmyk(44.4%, 55.6%, 0%, 61.2%)
CIE-LABlab(22.00, 20.11, -30.99)
CIE-LCHlch(22.00, 36.94, 302.98°)
OKLaboklab(33.58% 0.0313 -0.088)
OKLCHoklch(33.58% 0.093 289.6)
XYZxyz(4.7277, 3.5143, 12.2312)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C63 #58632C
analogous
#2C3C63 #372C63 #522C63
triadic
#372C63 #63372C #2C6337
tetradic
#372C63 #632C3C #58632C #2C6352
square
#372C63 #632C3C #58632C #2C6352
split-complementary
#372C63 #63522C #3C632C
monochromatic
#0C0915 #1F1939 #372C63 #4F3F8D #6856B4

Accessibility & contrast

On white

12.33
#372C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C63
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C63#FFFFFF#000000##FFFFFF
##372C631.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143665
Deuteranopia (green-blind)
#153362
Tritanopia (blue-blind)
#2B3743
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372c63;
/* rgb */ color: rgb(55, 44, 99);
/* oklch */ color: oklch(33.6% 0.093 289.6);
Tailwind
colors: {
  custom: {
    50: '#716590',
    500: '#372c63',
    950: '#000000',
  },
}
SCSS
$custom: #372c63;
$custom-light: #716590;
$custom-dark: #000000;
JSON
{
  "hex": "#372c63",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 252,
    "s": 38.462,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.0934,
    "h": 289.6
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#372C63
secondary
#889556
accent
#CE59B7
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08050C
muted
#7B7A7D

Preview Lab

Preview with #372C63

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

Preview Lab → · Contrast checker → · Palette generator →

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