#372196#372196

#372196 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.177 H 281.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#372196
RGBrgb(55, 33, 150)
HSLhsl(251, 64%, 36%)
HSVhsv(251, 78%, 59%)
CMYKcmyk(63.3%, 78%, 0%, 41.2%)
CIE-LABlab(24.00, 43.19, -60.06)
CIE-LCHlch(24.00, 73.98, 305.72°)
OKLaboklab(36.41% 0.0358 -0.1732)
OKLCHoklch(36.41% 0.177 281.7)
XYZxyz(7.6227, 4.1014, 29.2382)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372196 #809621
analogous
#214596 #372196 #712196
triadic
#372196 #963721 #219637
tetradic
#372196 #962145 #809621 #219671
square
#372196 #962145 #809621 #219671
split-complementary
#372196 #967121 #459621
monochromatic
#120B32 #251664 #372196 #492CC8 #7057DA

Accessibility & contrast

On white

11.54
#372196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372196
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372196#FFFFFF#000000##FFFFFF
##3721961.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372196;
/* rgb */ color: rgb(55, 33, 150);
/* oklch */ color: oklch(36.4% 0.177 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b60b6',
    500: '#372196',
    950: '#000000',
  },
}
SCSS
$custom: #372196;
$custom-light: #7b60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372196",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 251.282,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36405,
    "c": 0.17691,
    "h": 281.7
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#372196
secondary
#AABE55
accent
#E741C8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372196

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

Preview Lab → · Contrast checker → · Palette generator →

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