#372099#372099

#372099 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.181 H 281.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#372099
RGBrgb(55, 32, 153)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 79%, 60%)
CMYKcmyk(64.1%, 79.1%, 0%, 40%)
CIE-LABlab(24.14, 44.62, -61.67)
CIE-LCHlch(24.14, 76.12, 305.88°)
OKLaboklab(36.6% 0.0356 -0.1779)
OKLCHoklch(36.6% 0.181 281.3)
XYZxyz(7.8400, 4.1446, 30.5177)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372099 #829920
analogous
#204699 #372099 #742099
triadic
#372099 #993720 #209937
tetradic
#372099 #992046 #829920 #209974
square
#372099 #992046 #829920 #209974
split-complementary
#372099 #997420 #469920
monochromatic
#130B34 #251566 #372099 #492BCC #7157DC

Accessibility & contrast

On white

11.48
#372099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372099
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372099#FFFFFF#000000##FFFFFF
##3720991.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372099;
/* rgb */ color: rgb(55, 32, 153);
/* oklch */ color: oklch(36.6% 0.181 281.3);
Tailwind
colors: {
  custom: {
    50: '#7b5fb8',
    500: '#372099',
    950: '#000000',
  },
}
SCSS
$custom: #372099;
$custom-light: #7b5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#372099",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 251.405,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36597,
    "c": 0.18147,
    "h": 281.3
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#372099
secondary
#ABC055
accent
#E83FC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #372099

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

Preview Lab → · Contrast checker → · Palette generator →

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