#372199#372199

#372199 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.181 H 281.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#372199
RGBrgb(55, 33, 153)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 78%, 60%)
CMYKcmyk(64.1%, 78.4%, 0%, 40%)
CIE-LABlab(24.32, 44.11, -61.38)
CIE-LCHlch(24.32, 75.59, 305.70°)
OKLaboklab(36.72% 0.035 -0.1771)
OKLCHoklch(36.72% 0.181 281.2)
XYZxyz(7.8674, 4.1993, 30.5268)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372199 #839921
analogous
#214799 #372199 #732199
triadic
#372199 #993721 #219937
tetradic
#372199 #992147 #839921 #219973
square
#372199 #992147 #839921 #219973
split-complementary
#372199 #997321 #479921
monochromatic
#130B34 #251667 #372199 #492CCB #7159DB

Accessibility & contrast

On white

11.41
#372199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372199
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372199#FFFFFF#000000##FFFFFF
##3721991.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372199;
/* rgb */ color: rgb(55, 33, 153);
/* oklch */ color: oklch(36.7% 0.181 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b60b8',
    500: '#372199',
    950: '#000000',
  },
}
SCSS
$custom: #372199;
$custom-light: #7b60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#372199",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 251,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.18054,
    "h": 281.2
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#372199
secondary
#ACBF56
accent
#E840C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #372199

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

Preview Lab → · Contrast checker → · Palette generator →

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