#372072#372072

#372072 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.133 H 289.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#372072
RGBrgb(55, 32, 114)
HSLhsl(257, 56%, 29%)
HSVhsv(257, 72%, 45%)
CMYKcmyk(51.8%, 71.9%, 0%, 55.3%)
CIE-LABlab(20.28, 32.55, -43.50)
CIE-LCHlch(20.28, 54.33, 306.80°)
OKLaboklab(32.7% 0.0452 -0.1248)
OKLCHoklch(32.7% 0.133 289.9)
XYZxyz(5.1285, 3.0599, 16.2367)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372072 #5B7220
analogous
#203272 #372072 #602072
triadic
#372072 #723720 #207237
tetradic
#372072 #722032 #5B7220 #207260
square
#372072 #722032 #5B7220 #207260
split-complementary
#372072 #726020 #327220
monochromatic
#0C0718 #201342 #372072 #4E2DA2 #6842CA

Accessibility & contrast

On white

13.03
#372072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#372072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372072
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372072#FFFFFF#000000##FFFFFF
##3720721.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#233546
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #372072;
/* rgb */ color: rgb(55, 32, 114);
/* oklch */ color: oklch(32.7% 0.133 289.9);
Tailwind
colors: {
  custom: {
    50: '#745d9b',
    500: '#372072',
    950: '#000000',
  },
}
SCSS
$custom: #372072;
$custom-light: #745d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#372072",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 256.829,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.13271,
    "h": 289.9
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#372072
secondary
#8BA648
accent
#DF48B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #372072

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

Preview Lab → · Contrast checker → · Palette generator →

#372072 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva