#372491#372491

#372491 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.168 H 282.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#372491
RGBrgb(55, 36, 145)
HSLhsl(250, 60%, 35%)
HSVhsv(250, 75%, 57%)
CMYKcmyk(62.1%, 75.2%, 0%, 43.1%)
CIE-LABlab(24.06, 40.03, -56.88)
CIE-LCHlch(24.06, 69.56, 305.13°)
OKLaboklab(36.29% 0.035 -0.164)
OKLCHoklch(36.29% 0.168 282)
XYZxyz(7.3157, 4.1178, 27.1919)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372491 #7E9124
analogous
#244791 #372491 #6D2491
triadic
#372491 #913724 #249137
tetradic
#372491 #912447 #7E9124 #24916D
square
#372491 #912447 #7E9124 #24916D
split-complementary
#372491 #916D24 #479124
monochromatic
#120C2F #241860 #372491 #4A30C2 #6F59D6

Accessibility & contrast

On white

11.52
#372491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#372491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372491
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372491#FFFFFF#000000##FFFFFF
##3724911.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372491;
/* rgb */ color: rgb(55, 36, 145);
/* oklch */ color: oklch(36.3% 0.168 282.0);
Tailwind
colors: {
  custom: {
    50: '#7961b2',
    500: '#372491',
    950: '#000000',
  },
}
SCSS
$custom: #372491;
$custom-light: #7961b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372491",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 250.459,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36288,
    "c": 0.1677,
    "h": 282
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#372491
secondary
#A9BA56
accent
#E344C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372491

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

Preview Lab → · Contrast checker → · Palette generator →

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