#372197#372197

#372197 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.178 H 281.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#372197
RGBrgb(55, 33, 151)
HSLhsl(251, 64%, 36%)
HSVhsv(251, 78%, 59%)
CMYKcmyk(63.6%, 78.1%, 0%, 40.8%)
CIE-LABlab(24.11, 43.50, -60.50)
CIE-LCHlch(24.11, 74.52, 305.72°)
OKLaboklab(36.51% 0.0355 -0.1745)
OKLCHoklch(36.51% 0.178 281.5)
XYZxyz(7.7036, 4.1337, 29.6641)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372197 #819721
analogous
#214697 #372197 #722197
triadic
#372197 #973721 #219737
tetradic
#372197 #972146 #819721 #219772
square
#372197 #972146 #819721 #219772
split-complementary
#372197 #977221 #469721
monochromatic
#120B33 #251665 #372197 #492CC9 #7058DA

Accessibility & contrast

On white

11.50
#372197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372197
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372197#FFFFFF#000000##FFFFFF
##3721971.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.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: #372197;
/* rgb */ color: rgb(55, 33, 151);
/* oklch */ color: oklch(36.5% 0.178 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b60b7',
    500: '#372197',
    950: '#000000',
  },
}
SCSS
$custom: #372197;
$custom-light: #7b60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372197",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 251.186,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.17812,
    "h": 281.5
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#372197
secondary
#ABBE55
accent
#E741C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #372197

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

Preview Lab → · Contrast checker → · Palette generator →

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