#372A73#372A73

#372A73 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.5% C 0.120 H 286.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#372A73
RGBrgb(55, 42, 115)
HSLhsl(251, 46%, 31%)
HSVhsv(251, 63%, 45%)
CMYKcmyk(52.2%, 63.5%, 0%, 54.9%)
CIE-LABlab(22.67, 26.66, -40.25)
CIE-LCHlch(22.67, 48.28, 303.52°)
OKLaboklab(34.46% 0.034 -0.1152)
OKLCHoklch(34.46% 0.12 286.4)
XYZxyz(5.4971, 3.7057, 16.6420)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A73 #66732A
analogous
#2A4173 #372A73 #5B2A73
triadic
#372A73 #73372A #2A7337
tetradic
#372A73 #732A41 #66732A #2A735B
square
#372A73 #732A41 #66732A #2A735B
split-complementary
#372A73 #735B2A #41732A
monochromatic
#0C0919 #221A46 #372A73 #4C3AA0 #6956C1

Accessibility & contrast

On white

12.06
#372A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#372A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A73
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A73#FFFFFF#000000##FFFFFF
##372A731.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#213B4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372a73;
/* rgb */ color: rgb(55, 42, 115);
/* oklch */ color: oklch(34.5% 0.120 286.4);
Tailwind
colors: {
  custom: {
    50: '#73649c',
    500: '#372a73',
    950: '#000000',
  },
}
SCSS
$custom: #372a73;
$custom-light: #73649c;
$custom-dark: #000000;
JSON
{
  "hex": "#372a73",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 250.685,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.12014,
    "h": 286.4
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#372A73
secondary
#96A554
accent
#D652BF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372A73

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

Preview Lab → · Contrast checker → · Palette generator →

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