#372776#372776

#372776 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.2% C 0.129 H 286.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#372776
RGBrgb(55, 39, 118)
HSLhsl(252, 50%, 31%)
HSVhsv(252, 67%, 46%)
CMYKcmyk(53.4%, 66.9%, 0%, 53.7%)
CIE-LABlab(22.20, 29.56, -42.95)
CIE-LCHlch(22.20, 52.14, 304.54°)
OKLaboklab(34.19% 0.0372 -0.1231)
OKLCHoklch(34.19% 0.129 286.8)
XYZxyz(5.5701, 3.5710, 17.5318)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372776 #667627
analogous
#273E76 #372776 #5E2776
triadic
#372776 #763727 #277637
tetradic
#372776 #76273E #667627 #27765E
square
#372776 #76273E #667627 #27765E
split-complementary
#372776 #765E27 #3E7627
monochromatic
#0C091A #221848 #372776 #4C36A4 #6952C6

Accessibility & contrast

On white

12.25
#372776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372776
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372776#FFFFFF#000000##FFFFFF
##3727761.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#1F3A4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372776;
/* rgb */ color: rgb(55, 39, 118);
/* oklch */ color: oklch(34.2% 0.129 286.8);
Tailwind
colors: {
  custom: {
    50: '#74629e',
    500: '#372776',
    950: '#000000',
  },
}
SCSS
$custom: #372776;
$custom-light: #74629e;
$custom-dark: #000000;
JSON
{
  "hex": "#372776",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 252.152,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34189,
    "c": 0.12863,
    "h": 286.8
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#372776
secondary
#96A851
accent
#DA4EBD
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #372776

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

Preview Lab → · Contrast checker → · Palette generator →

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