#372399#372399

#372399 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.179 H 280.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#372399
RGBrgb(55, 35, 153)
HSLhsl(250, 63%, 37%)
HSVhsv(250, 77%, 60%)
CMYKcmyk(64.1%, 77.1%, 0%, 40%)
CIE-LABlab(24.68, 43.08, -60.78)
CIE-LCHlch(24.68, 74.50, 305.32°)
OKLaboklab(36.97% 0.0337 -0.1754)
OKLCHoklch(36.97% 0.179 280.9)
XYZxyz(7.9245, 4.3136, 30.5458)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372399 #859923
analogous
#234A99 #372399 #722399
triadic
#372399 #993723 #239937
tetradic
#372399 #99234A #859923 #239972
square
#372399 #99234A #859923 #239972
split-complementary
#372399 #997223 #4A9923
monochromatic
#130C35 #251867 #372399 #492ECB #725DDA

Accessibility & contrast

On white

11.27
#372399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372399
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372399#FFFFFF#000000##FFFFFF
##3723991.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372399;
/* rgb */ color: rgb(55, 35, 153);
/* oklch */ color: oklch(37.0% 0.179 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b61b8',
    500: '#372399',
    950: '#000000',
  },
}
SCSS
$custom: #372399;
$custom-light: #7b61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372399",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 250.169,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36974,
    "c": 0.1786,
    "h": 280.9
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#372399
secondary
#ADBE59
accent
#E642CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #372399

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

Preview Lab → · Contrast checker → · Palette generator →

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