#372591#372591

#372591 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.167 H 281.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#372591
RGBrgb(55, 37, 145)
HSLhsl(250, 59%, 36%)
HSVhsv(250, 74%, 57%)
CMYKcmyk(62.1%, 74.5%, 0%, 43.1%)
CIE-LABlab(24.26, 39.47, -56.56)
CIE-LCHlch(24.26, 68.97, 304.91°)
OKLaboklab(36.43% 0.0343 -0.1631)
OKLCHoklch(36.43% 0.167 281.9)
XYZxyz(7.3464, 4.1792, 27.2021)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372591 #7F9125
analogous
#254991 #372591 #6D2591
triadic
#372591 #913725 #259137
tetradic
#372591 #912549 #7F9125 #25916D
square
#372591 #912549 #7F9125 #25916D
split-complementary
#372591 #916D25 #499125
monochromatic
#120C2F #251960 #372591 #4931C2 #705BD5

Accessibility & contrast

On white

11.44
#372591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372591
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372591#FFFFFF#000000##FFFFFF
##3725911.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372591;
/* rgb */ color: rgb(55, 37, 145);
/* oklch */ color: oklch(36.4% 0.167 281.9);
Tailwind
colors: {
  custom: {
    50: '#7962b2',
    500: '#372591',
    950: '#000000',
  },
}
SCSS
$custom: #372591;
$custom-light: #7962b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372591",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 250,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36428,
    "c": 0.16662,
    "h": 281.9
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#372591
secondary
#AABA58
accent
#E345C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372591

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

Preview Lab → · Contrast checker → · Palette generator →

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