#372B72#372B72

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

Color values

HEX#372B72
RGBrgb(55, 43, 114)
HSLhsl(250, 45%, 31%)
HSVhsv(250, 62%, 45%)
CMYKcmyk(51.8%, 62.3%, 0%, 55.3%)
CIE-LABlab(22.84, 25.68, -39.34)
CIE-LCHlch(22.84, 46.98, 303.14°)
OKLaboklab(34.56% 0.0329 -0.1125)
OKLCHoklch(34.56% 0.117 286.3)
XYZxyz(5.4758, 3.7546, 16.3525)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B72 #66722B
analogous
#2B4272 #372B72 #5A2B72
triadic
#372B72 #72372B #2B7237
tetradic
#372B72 #722B42 #66722B #2B725A
square
#372B72 #722B42 #66722B #2B725A
split-complementary
#372B72 #725A2B #42722B
monochromatic
#0C0919 #221A46 #372B72 #4C3C9E #6958C0

Accessibility & contrast

On white

11.99
#372B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#372B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B72
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B72#FFFFFF#000000##FFFFFF
##372B721.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#223B4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372b72;
/* rgb */ color: rgb(55, 43, 114);
/* oklch */ color: oklch(34.6% 0.117 286.3);
Tailwind
colors: {
  custom: {
    50: '#73659b',
    500: '#372b72',
    950: '#000000',
  },
}
SCSS
$custom: #372b72;
$custom-light: #73659b;
$custom-dark: #000000;
JSON
{
  "hex": "#372b72",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 250.141,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34556,
    "c": 0.11723,
    "h": 286.3
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#372B72
secondary
#96A455
accent
#D553BF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372B72

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

Preview Lab → · Contrast checker → · Palette generator →

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