#372091#372091

#372091 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.172 H 282.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#372091
RGBrgb(55, 32, 145)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 57%)
CMYKcmyk(62.1%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.30, 42.17, -58.13)
CIE-LCHlch(23.30, 71.81, 305.96°)
OKLaboklab(35.76% 0.0378 -0.1676)
OKLCHoklch(35.76% 0.172 282.7)
XYZxyz(7.2013, 3.8891, 27.1538)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372091 #7A9120
analogous
#204291 #372091 #6F2091
triadic
#372091 #913720 #209137
tetradic
#372091 #912042 #7A9120 #20916F
square
#372091 #912042 #7A9120 #20916F
split-complementary
#372091 #916F20 #429120
monochromatic
#110A2D #24155F #372091 #4A2BC3 #6E52D9

Accessibility & contrast

On white

11.81
#372091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372091
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372091#FFFFFF#000000##FFFFFF
##3720911.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372091;
/* rgb */ color: rgb(55, 32, 145);
/* oklch */ color: oklch(35.8% 0.172 282.7);
Tailwind
colors: {
  custom: {
    50: '#7a5fb2',
    500: '#372091',
    950: '#000000',
  },
}
SCSS
$custom: #372091;
$custom-light: #7a5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#372091",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 252.212,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.17182,
    "h": 282.7
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#372091
secondary
#A6BC51
accent
#E741C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372091

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

Preview Lab → · Contrast checker → · Palette generator →

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