#372191#372191

#372191 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.171 H 282.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#372191
RGBrgb(55, 33, 145)
HSLhsl(252, 63%, 35%)
HSVhsv(252, 77%, 57%)
CMYKcmyk(62.1%, 77.2%, 0%, 43.1%)
CIE-LABlab(23.48, 41.65, -57.83)
CIE-LCHlch(23.48, 71.26, 305.76°)
OKLaboklab(35.89% 0.0371 -0.1667)
OKLCHoklch(35.89% 0.171 282.6)
XYZxyz(7.2286, 3.9438, 27.1629)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372191 #7B9121
analogous
#214391 #372191 #6F2191
triadic
#372191 #913721 #219137
tetradic
#372191 #912143 #7B9121 #21916F
square
#372191 #912143 #7B9121 #21916F
split-complementary
#372191 #916F21 #439121
monochromatic
#110A2D #24165F #372191 #4A2CC3 #6E54D8

Accessibility & contrast

On white

11.74
#372191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372191
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372191#FFFFFF#000000##FFFFFF
##3721911.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372191;
/* rgb */ color: rgb(55, 33, 145);
/* oklch */ color: oklch(35.9% 0.171 282.6);
Tailwind
colors: {
  custom: {
    50: '#7a5fb2',
    500: '#372191',
    950: '#000000',
  },
}
SCSS
$custom: #372191;
$custom-light: #7a5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#372191",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 251.786,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.17083,
    "h": 282.6
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#372191
secondary
#A7BC52
accent
#E642C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372191

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

Preview Lab → · Contrast checker → · Palette generator →

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