#372A6F#372A6F

#372A6F is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.114 H 287.4°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#372A6F
RGBrgb(55, 42, 111)
HSLhsl(251, 45%, 30%)
HSVhsv(251, 62%, 44%)
CMYKcmyk(50.5%, 62.2%, 0%, 56.5%)
CIE-LABlab(22.36, 25.35, -38.20)
CIE-LCHlch(22.36, 45.84, 303.57°)
OKLaboklab(34.13% 0.0342 -0.1092)
OKLCHoklch(34.13% 0.114 287.4)
XYZxyz(5.2719, 3.6156, 15.4559)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A6F #626F2A
analogous
#2A406F #372A6F #592A6F
triadic
#372A6F #6F372A #2A6F37
tetradic
#372A6F #6F2A40 #626F2A #2A6F59
square
#372A6F #6F2A40 #626F2A #2A6F59
split-complementary
#372A6F #6F592A #406F2A
monochromatic
#0B0816 #211943 #372A6F #4D3B9B #6955BF

Accessibility & contrast

On white

12.19
#372A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#372A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A6F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A6F#FFFFFF#000000##FFFFFF
##372A6F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#243A48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372a6f;
/* rgb */ color: rgb(55, 42, 111);
/* oklch */ color: oklch(34.1% 0.114 287.4);
Tailwind
colors: {
  custom: {
    50: '#736499',
    500: '#372a6f',
    950: '#000000',
  },
}
SCSS
$custom: #372a6f;
$custom-light: #736499;
$custom-dark: #000000;
JSON
{
  "hex": "#372a6f",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 251.304,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.34126,
    "c": 0.11441,
    "h": 287.4
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#372A6F
secondary
#92A154
accent
#D553BC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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