#372177#372177

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

Color values

HEX#372177
RGBrgb(55, 33, 119)
HSLhsl(255, 57%, 30%)
HSVhsv(255, 72%, 47%)
CMYKcmyk(53.8%, 72.3%, 0%, 53.3%)
CIE-LABlab(20.95, 33.52, -45.62)
CIE-LCHlch(20.95, 56.62, 306.31°)
OKLaboklab(33.32% 0.0432 -0.131)
OKLCHoklch(33.32% 0.138 288.3)
XYZxyz(5.4482, 3.2316, 17.7859)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372177 #617721
analogous
#213677 #372177 #622177
triadic
#372177 #773721 #217737
tetradic
#372177 #772136 #617721 #217762
square
#372177 #772136 #617721 #217762
split-complementary
#372177 #776221 #367721
monochromatic
#0B0718 #211447 #372177 #4D2EA7 #6947CC

Accessibility & contrast

On white

12.76
#372177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#372177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372177
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372177#FFFFFF#000000##FFFFFF
##3721771.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#1F3749
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #372177;
/* rgb */ color: rgb(55, 33, 119);
/* oklch */ color: oklch(33.3% 0.138 288.3);
Tailwind
colors: {
  custom: {
    50: '#755e9f',
    500: '#372177',
    950: '#000000',
  },
}
SCSS
$custom: #372177;
$custom-light: #755e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#372177",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 255.349,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33316,
    "c": 0.13796,
    "h": 288.3
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#372177
secondary
#91AA4A
accent
#E048B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #372177

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

Preview Lab → · Contrast checker → · Palette generator →

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