#372145#372145

#372145 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.3% C 0.069 H 311.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#372145
RGBrgb(55, 33, 69)
HSLhsl(277, 35%, 20%)
HSVhsv(277, 52%, 27%)
CMYKcmyk(20.3%, 52.2%, 0%, 72.9%)
CIE-LABlab(17.13, 18.54, -18.61)
CIE-LCHlch(17.13, 26.26, 314.89°)
OKLaboklab(29.32% 0.045 -0.0518)
OKLCHoklch(29.32% 0.069 311)
XYZxyz(3.1934, 2.3297, 5.9105)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372145 #2F4521
analogous
#252145 #372145 #452141
triadic
#372145 #453721 #214537
tetradic
#372145 #452521 #2F4521 #214145
square
#372145 #452521 #2F4521 #214145
split-complementary
#372145 #414521 #214525
monochromatic
#110A15 #160D1C #372145 #58356E #794998

Accessibility & contrast

On white

14.32
#372145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372145
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372145#FFFFFF#000000##FFFFFF
##3721451.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#1F2B44
Tritanopia (blue-blind)
#35272F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #372145;
/* rgb */ color: rgb(55, 33, 69);
/* oklch */ color: oklch(29.3% 0.069 311.0);
Tailwind
colors: {
  custom: {
    50: '#6f5d79',
    500: '#372145',
    950: '#000000',
  },
}
SCSS
$custom: #372145;
$custom-light: #6f5d79;
$custom-dark: #000000;
JSON
{
  "hex": "#372145",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 276.667,
    "s": 35.294,
    "l": 20
  },
  "oklch": {
    "l": 0.29322,
    "c": 0.06862,
    "h": 311
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#372145
secondary
#5C7949
accent
#CB5C88
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #372145

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

Preview Lab → · Contrast checker → · Palette generator →

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