#372396#372396

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

Color values

HEX#372396
RGBrgb(55, 35, 150)
HSLhsl(250, 62%, 36%)
HSVhsv(250, 77%, 59%)
CMYKcmyk(63.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(24.37, 42.14, -59.45)
CIE-LCHlch(24.37, 72.87, 305.33°)
OKLaboklab(36.66% 0.0345 -0.1715)
OKLCHoklch(36.66% 0.175 281.4)
XYZxyz(7.6799, 4.2157, 29.2573)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372396 #829623
analogous
#234996 #372396 #712396
triadic
#372396 #963723 #239637
tetradic
#372396 #962349 #829623 #239671
square
#372396 #962349 #829623 #239671
split-complementary
#372396 #967123 #499623
monochromatic
#130C33 #251764 #372396 #492FC8 #715BD9

Accessibility & contrast

On white

11.39
#372396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372396
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372396#FFFFFF#000000##FFFFFF
##3723961.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372396;
/* rgb */ color: rgb(55, 35, 150);
/* oklch */ color: oklch(36.7% 0.175 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b61b6',
    500: '#372396',
    950: '#000000',
  },
}
SCSS
$custom: #372396;
$custom-light: #7b61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372396",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 250.435,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36663,
    "c": 0.17493,
    "h": 281.4
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#372396
secondary
#ABBD58
accent
#E543C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372396

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

Preview Lab → · Contrast checker → · Palette generator →

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