#372A6D#372A6D

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

Color values

HEX#372A6D
RGBrgb(55, 42, 109)
HSLhsl(252, 44%, 30%)
HSVhsv(252, 61%, 43%)
CMYKcmyk(49.5%, 61.5%, 0%, 57.3%)
CIE-LABlab(22.20, 24.69, -37.16)
CIE-LCHlch(22.20, 44.61, 303.61°)
OKLaboklab(33.96% 0.0342 -0.1061)
OKLCHoklch(33.96% 0.112 287.9)
XYZxyz(5.1630, 3.5721, 14.8825)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A6D #606D2A
analogous
#2A3F6D #372A6D #592A6D
triadic
#372A6D #6D372A #2A6D37
tetradic
#372A6D #6D2A3F #606D2A #2A6D59
square
#372A6D #6D2A3F #606D2A #2A6D59
split-complementary
#372A6D #6D592A #3F6D2A
monochromatic
#0B0916 #211941 #372A6D #4D3B99 #6954BD

Accessibility & contrast

On white

12.25
#372A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A6D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A6D#FFFFFF#000000##FFFFFF
##372A6D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#253947
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372a6d;
/* rgb */ color: rgb(55, 42, 109);
/* oklch */ color: oklch(34.0% 0.112 287.9);
Tailwind
colors: {
  custom: {
    50: '#726497',
    500: '#372a6d',
    950: '#000000',
  },
}
SCSS
$custom: #372a6d;
$custom-light: #726497;
$custom-dark: #000000;
JSON
{
  "hex": "#372a6d",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 251.642,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.1115,
    "h": 287.9
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#372A6D
secondary
#909F54
accent
#D454BB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #372A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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