#372097#372097

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

Color values

HEX#372097
RGBrgb(55, 32, 151)
HSLhsl(252, 65%, 36%)
HSVhsv(252, 79%, 59%)
CMYKcmyk(63.6%, 78.8%, 0%, 40.8%)
CIE-LABlab(23.93, 44.01, -60.79)
CIE-LCHlch(23.93, 75.05, 305.90°)
OKLaboklab(36.39% 0.0361 -0.1754)
OKLCHoklch(36.39% 0.179 281.6)
XYZxyz(7.6762, 4.0791, 29.6550)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372097 #809720
analogous
#204497 #372097 #722097
triadic
#372097 #973720 #209737
tetradic
#372097 #972044 #809720 #209772
square
#372097 #972044 #809720 #209772
split-complementary
#372097 #977220 #449720
monochromatic
#120B32 #251564 #372097 #492BC9 #7056DB

Accessibility & contrast

On white

11.56
#372097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372097
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372097#FFFFFF#000000##FFFFFF
##3720971.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372097;
/* rgb */ color: rgb(55, 32, 151);
/* oklch */ color: oklch(36.4% 0.179 281.6);
Tailwind
colors: {
  custom: {
    50: '#7b5fb7',
    500: '#372097',
    950: '#000000',
  },
}
SCSS
$custom: #372097;
$custom-light: #7b5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#372097",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 251.597,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.17907,
    "h": 281.6
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #372097

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

Preview Lab → · Contrast checker → · Palette generator →

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