#372076#372076

#372076 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.138 H 288.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#372076
RGBrgb(55, 32, 118)
HSLhsl(256, 57%, 29%)
HSVhsv(256, 73%, 46%)
CMYKcmyk(53.4%, 72.9%, 0%, 53.7%)
CIE-LABlab(20.65, 33.79, -45.48)
CIE-LCHlch(20.65, 56.66, 306.62°)
OKLaboklab(33.07% 0.0444 -0.1306)
OKLCHoklch(33.07% 0.138 288.8)
XYZxyz(5.3611, 3.1530, 17.4621)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372076 #5F7620
analogous
#203476 #372076 #622076
triadic
#372076 #763720 #207637
tetradic
#372076 #762034 #5F7620 #207662
square
#372076 #762034 #5F7620 #207662
split-complementary
#372076 #766220 #347620
monochromatic
#0B0718 #211346 #372076 #4D2DA6 #6944CC

Accessibility & contrast

On white

12.88
#372076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#372076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372076
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372076#FFFFFF#000000##FFFFFF
##3720761.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#203648
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #372076;
/* rgb */ color: rgb(55, 32, 118);
/* oklch */ color: oklch(33.1% 0.138 288.8);
Tailwind
colors: {
  custom: {
    50: '#755d9e',
    500: '#372076',
    950: '#000000',
  },
}
SCSS
$custom: #372076;
$custom-light: #755d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#372076",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 256.047,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.13793,
    "h": 288.8
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#372076
secondary
#8FA948
accent
#E147B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #372076

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

Preview Lab → · Contrast checker → · Palette generator →

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