#372192#372192

#372192 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.172 H 282.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#372192
RGBrgb(55, 33, 146)
HSLhsl(252, 63%, 35%)
HSVhsv(252, 77%, 57%)
CMYKcmyk(62.3%, 77.4%, 0%, 42.7%)
CIE-LABlab(23.59, 41.96, -58.28)
CIE-LCHlch(23.59, 71.81, 305.75°)
OKLaboklab(35.99% 0.0369 -0.168)
OKLCHoklch(35.99% 0.172 282.4)
XYZxyz(7.3061, 3.9747, 27.5708)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372192 #7C9221
analogous
#214492 #372192 #6F2192
triadic
#372192 #923721 #219237
tetradic
#372192 #922144 #7C9221 #21926F
square
#372192 #922144 #7C9221 #21926F
split-complementary
#372192 #926F21 #449221
monochromatic
#110A2E #241660 #372192 #4A2CC4 #6E55D9

Accessibility & contrast

On white

11.70
#372192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#372192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372192
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372192#FFFFFF#000000##FFFFFF
##3721921.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372192;
/* rgb */ color: rgb(55, 33, 146);
/* oklch */ color: oklch(36.0% 0.172 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a5fb3',
    500: '#372192',
    950: '#000000',
  },
}
SCSS
$custom: #372192;
$custom-light: #7a5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#372192",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 251.681,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35988,
    "c": 0.17205,
    "h": 282.4
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#372192
secondary
#A8BC53
accent
#E642C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372192

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

Preview Lab → · Contrast checker → · Palette generator →

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