#372D66#372D66

#372D66 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.0% C 0.096 H 288.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#372D66
RGBrgb(55, 45, 102)
HSLhsl(251, 39%, 29%)
HSVhsv(251, 56%, 40%)
CMYKcmyk(46.1%, 55.9%, 0%, 60%)
CIE-LABlab(22.47, 20.41, -32.18)
CIE-LCHlch(22.47, 38.11, 302.38°)
OKLaboklab(34% 0.0302 -0.0915)
OKLCHoklch(34% 0.096 288.2)
XYZxyz(4.9115, 3.6481, 13.0132)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D66 #5C662D
analogous
#2D4066 #372D66 #542D66
triadic
#372D66 #66372D #2D6637
tetradic
#372D66 #662D40 #5C662D #2D6654
square
#372D66 #662D40 #5C662D #2D6654
split-complementary
#372D66 #66542D #40662D
monochromatic
#0B0915 #201A3C #372D66 #4E4090 #6858B5

Accessibility & contrast

On white

12.14
#372D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#372D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D66
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D66#FFFFFF#000000##FFFFFF
##372D661.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123768
Deuteranopia (green-blind)
#133465
Tritanopia (blue-blind)
#293945
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372d66;
/* rgb */ color: rgb(55, 45, 102);
/* oklch */ color: oklch(34.0% 0.096 288.2);
Tailwind
colors: {
  custom: {
    50: '#716692',
    500: '#372d66',
    950: '#000000',
  },
}
SCSS
$custom: #372d66;
$custom-light: #716692;
$custom-dark: #000000;
JSON
{
  "hex": "#372d66",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 250.526,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33998,
    "c": 0.09633,
    "h": 288.2
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#372D66
secondary
#8C9857
accent
#CF59BA
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #372D66

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

Preview Lab → · Contrast checker → · Palette generator →

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