#372071#372071

#372071 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.131 H 290.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#372071
RGBrgb(55, 32, 113)
HSLhsl(257, 56%, 28%)
HSVhsv(257, 72%, 44%)
CMYKcmyk(51.3%, 71.7%, 0%, 55.7%)
CIE-LABlab(20.19, 32.24, -43.00)
CIE-LCHlch(20.19, 53.74, 306.86°)
OKLaboklab(32.61% 0.0454 -0.1233)
OKLCHoklch(32.61% 0.131 290.2)
XYZxyz(5.0718, 3.0373, 15.9386)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372071 #5A7120
analogous
#203171 #372071 #5F2071
triadic
#372071 #713720 #207137
tetradic
#372071 #712031 #5A7120 #20715F
square
#372071 #712031 #5A7120 #20715F
split-complementary
#372071 #715F20 #317120
monochromatic
#0C0718 #201241 #372071 #4E2EA1 #6842C9

Accessibility & contrast

On white

13.06
#372071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372071
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372071#FFFFFF#000000##FFFFFF
##3720711.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#243445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #372071;
/* rgb */ color: rgb(55, 32, 113);
/* oklch */ color: oklch(32.6% 0.131 290.2);
Tailwind
colors: {
  custom: {
    50: '#745d9b',
    500: '#372071',
    950: '#000000',
  },
}
SCSS
$custom: #372071;
$custom-light: #745d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#372071",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 257.037,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32607,
    "c": 0.1314,
    "h": 290.2
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#372071
secondary
#8AA548
accent
#DF49B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #372071

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

Preview Lab → · Contrast checker → · Palette generator →

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