#372149#372149

#372149 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.6% C 0.074 H 307.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#372149
RGBrgb(55, 33, 73)
HSLhsl(273, 38%, 21%)
HSVhsv(273, 55%, 29%)
CMYKcmyk(24.7%, 54.8%, 0%, 71.4%)
CIE-LABlab(17.37, 19.63, -20.97)
CIE-LCHlch(17.37, 28.73, 313.11°)
OKLaboklab(29.58% 0.0456 -0.0587)
OKLCHoklch(29.58% 0.074 307.9)
XYZxyz(3.3218, 2.3810, 6.5866)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372149 #334921
analogous
#232149 #372149 #492147
triadic
#372149 #493721 #214937
tetradic
#372149 #492321 #334921 #214749
square
#372149 #492321 #334921 #214749
split-complementary
#372149 #474921 #214923
monochromatic
#100A15 #170E1F #372149 #573473 #77479D

Accessibility & contrast

On white

14.23
#372149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#372149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372149
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372149#FFFFFF#000000##FFFFFF
##3721491.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4A
Deuteranopia (green-blind)
#1C2B48
Tritanopia (blue-blind)
#342831
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #372149;
/* rgb */ color: rgb(55, 33, 73);
/* oklch */ color: oklch(29.6% 0.074 307.9);
Tailwind
colors: {
  custom: {
    50: '#6f5d7c',
    500: '#372149',
    950: '#000000',
  },
}
SCSS
$custom: #372149;
$custom-light: #6f5d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#372149",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 273,
    "s": 37.736,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29581,
    "c": 0.07433,
    "h": 307.9
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#372149
secondary
#607D49
accent
#CE5A8E
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #372149

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

Preview Lab → · Contrast checker → · Palette generator →

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