#372096#372096

#372096 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.178 H 281.8°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#372096
RGBrgb(55, 32, 150)
HSLhsl(252, 65%, 36%)
HSVhsv(252, 79%, 59%)
CMYKcmyk(63.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(23.83, 43.70, -60.35)
CIE-LCHlch(23.83, 74.52, 305.91°)
OKLaboklab(36.28% 0.0364 -0.1741)
OKLCHoklch(36.28% 0.178 281.8)
XYZxyz(7.5954, 4.0467, 29.2291)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372096 #7F9620
analogous
#204496 #372096 #722096
triadic
#372096 #963720 #209637
tetradic
#372096 #962044 #7F9620 #209672
square
#372096 #962044 #7F9620 #209672
split-complementary
#372096 #967220 #449620
monochromatic
#120A31 #251564 #372096 #492BC8 #7056DB

Accessibility & contrast

On white

11.61
#372096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#372096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372096
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372096#FFFFFF#000000##FFFFFF
##3720961.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372096;
/* rgb */ color: rgb(55, 32, 150);
/* oklch */ color: oklch(36.3% 0.178 281.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fb6',
    500: '#372096',
    950: '#000000',
  },
}
SCSS
$custom: #372096;
$custom-light: #7b5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#372096",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 251.695,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.17787,
    "h": 281.8
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#372096
secondary
#AABE53
accent
#E840C7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #372096

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

Preview Lab → · Contrast checker → · Palette generator →

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