#372496#372496

#372496 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.174 H 281.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#372496
RGBrgb(55, 36, 150)
HSLhsl(250, 61%, 36%)
HSVhsv(250, 76%, 59%)
CMYKcmyk(63.3%, 76%, 0%, 41.2%)
CIE-LABlab(24.56, 41.60, -59.14)
CIE-LCHlch(24.56, 72.31, 305.13°)
OKLaboklab(36.8% 0.0338 -0.1706)
OKLCHoklch(36.8% 0.174 281.2)
XYZxyz(7.7097, 4.2754, 29.2672)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372496 #839624
analogous
#244A96 #372496 #702496
triadic
#372496 #963724 #249637
tetradic
#372496 #96244A #839624 #249670
square
#372496 #96244A #839624 #249670
split-complementary
#372496 #967024 #4A9624
monochromatic
#130C33 #251865 #372496 #4930C7 #715CD8

Accessibility & contrast

On white

11.32
#372496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372496
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372496#FFFFFF#000000##FFFFFF
##3724961.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.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: #372496;
/* rgb */ color: rgb(55, 36, 150);
/* oklch */ color: oklch(36.8% 0.174 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a61b6',
    500: '#372496',
    950: '#000000',
  },
}
SCSS
$custom: #372496;
$custom-light: #7a61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#372496",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 250,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36797,
    "c": 0.17391,
    "h": 281.2
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#372496
secondary
#ACBD59
accent
#E443CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372496

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

Preview Lab → · Contrast checker → · Palette generator →

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