#372B73#372B73

#372B73 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.6% C 0.119 H 286.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#372B73
RGBrgb(55, 43, 115)
HSLhsl(250, 46%, 31%)
HSVhsv(250, 63%, 45%)
CMYKcmyk(52.2%, 62.6%, 0%, 54.9%)
CIE-LABlab(22.92, 26.01, -39.85)
CIE-LCHlch(22.92, 47.59, 303.14°)
OKLaboklab(34.64% 0.0328 -0.114)
OKLCHoklch(34.64% 0.119 286.1)
XYZxyz(5.5330, 3.7775, 16.6539)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B73 #67732B
analogous
#2B4373 #372B73 #5B2B73
triadic
#372B73 #73372B #2B7337
tetradic
#372B73 #732B43 #67732B #2B735B
square
#372B73 #732B43 #67732B #2B735B
split-complementary
#372B73 #735B2B #43732B
monochromatic
#0C0A1A #221A46 #372B73 #4C3CA0 #6958C1

Accessibility & contrast

On white

11.96
#372B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#372B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B73
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B73#FFFFFF#000000##FFFFFF
##372B731.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#213C4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372b73;
/* rgb */ color: rgb(55, 43, 115);
/* oklch */ color: oklch(34.6% 0.119 286.1);
Tailwind
colors: {
  custom: {
    50: '#73659c',
    500: '#372b73',
    950: '#000000',
  },
}
SCSS
$custom: #372b73;
$custom-light: #73659c;
$custom-dark: #000000;
JSON
{
  "hex": "#372b73",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 250,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34639,
    "c": 0.11867,
    "h": 286.1
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#372B73
secondary
#97A555
accent
#D553BF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372B73

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

Preview Lab → · Contrast checker → · Palette generator →

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