#372B68#372B68

#372B68 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.103 H 288.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#372B68
RGBrgb(55, 43, 104)
HSLhsl(252, 41%, 29%)
HSVhsv(252, 59%, 41%)
CMYKcmyk(47.1%, 58.7%, 0%, 59.2%)
CIE-LABlab(22.09, 22.40, -34.11)
CIE-LCHlch(22.09, 40.80, 303.30°)
OKLaboklab(33.76% 0.0329 -0.0971)
OKLCHoklch(33.76% 0.103 288.7)
XYZxyz(4.9374, 3.5393, 13.5170)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B68 #5C682B
analogous
#2B3E68 #372B68 #562B68
triadic
#372B68 #68372B #2B6837
tetradic
#372B68 #682B3E #5C682B #2B6856
square
#372B68 #682B3E #5C682B #2B6856
split-complementary
#372B68 #68562B #3E682B
monochromatic
#0B0916 #20193D #372B68 #4E3D93 #6855B9

Accessibility & contrast

On white

12.30
#372B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B68
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B68#FFFFFF#000000##FFFFFF
##372B681.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A366A
Deuteranopia (green-blind)
#0B3367
Tritanopia (blue-blind)
#283845
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372b68;
/* rgb */ color: rgb(55, 43, 104);
/* oklch */ color: oklch(33.8% 0.103 288.7);
Tailwind
colors: {
  custom: {
    50: '#726494',
    500: '#372b68',
    950: '#000000',
  },
}
SCSS
$custom: #372b68;
$custom-light: #726494;
$custom-dark: #000000;
JSON
{
  "hex": "#372b68",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 251.803,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33757,
    "c": 0.10257,
    "h": 288.7
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#372B68
secondary
#8C9A55
accent
#D156B9
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #372B68

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

Preview Lab → · Contrast checker → · Palette generator →

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