#372148#372148

#372148 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.5% C 0.073 H 308.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#372148
RGBrgb(55, 33, 72)
HSLhsl(274, 37%, 21%)
HSVhsv(274, 54%, 28%)
CMYKcmyk(23.6%, 54.2%, 0%, 71.8%)
CIE-LABlab(17.31, 19.35, -20.39)
CIE-LCHlch(17.31, 28.11, 313.51°)
OKLaboklab(29.52% 0.0455 -0.057)
OKLCHoklch(29.52% 0.073 308.6)
XYZxyz(3.2889, 2.3679, 6.4134)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372148 #324821
analogous
#232148 #372148 #482145
triadic
#372148 #483721 #214837
tetradic
#372148 #482321 #324821 #214548
square
#372148 #482321 #324821 #214548
split-complementary
#372148 #454821 #214823
monochromatic
#100A15 #170E1E #372148 #573472 #77479C

Accessibility & contrast

On white

14.25
#372148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#372148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372148
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372148#FFFFFF#000000##FFFFFF
##3721481.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#1D2B47
Tritanopia (blue-blind)
#352731
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #372148;
/* rgb */ color: rgb(55, 33, 72);
/* oklch */ color: oklch(29.5% 0.073 308.6);
Tailwind
colors: {
  custom: {
    50: '#6f5d7b',
    500: '#372148',
    950: '#000000',
  },
}
SCSS
$custom: #372148;
$custom-light: #6f5d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#372148",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 273.846,
    "s": 37.143,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.0729,
    "h": 308.6
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#372148
secondary
#5F7C49
accent
#CD5B8D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #372148

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

Preview Lab → · Contrast checker → · Palette generator →

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