#372B60#372B60

#372B60 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.2% C 0.090 H 291.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#372B60
RGBrgb(55, 43, 96)
HSLhsl(254, 38%, 27%)
HSVhsv(254, 55%, 38%)
CMYKcmyk(42.7%, 55.2%, 0%, 62.4%)
CIE-LABlab(21.52, 19.82, -29.78)
CIE-LCHlch(21.52, 35.78, 303.64°)
OKLaboklab(33.16% 0.0325 -0.0844)
OKLCHoklch(33.16% 0.091 291.1)
XYZxyz(4.5502, 3.3844, 11.4776)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B60 #54602B
analogous
#2B3A60 #372B60 #522B60
triadic
#372B60 #60372B #2B6037
tetradic
#372B60 #602B3A #54602B #2B6052
square
#372B60 #602B3A #54602B #2B6052
split-complementary
#372B60 #60522B #3A602B
monochromatic
#0C0915 #1F1836 #372B60 #4F3E8A #6953B2

Accessibility & contrast

On white

12.52
#372B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#372B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B60
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B60#FFFFFF#000000##FFFFFF
##372B601.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#16325F
Tritanopia (blue-blind)
#2C3641
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372b60;
/* rgb */ color: rgb(55, 43, 96);
/* oklch */ color: oklch(33.2% 0.090 291.1);
Tailwind
colors: {
  custom: {
    50: '#71648d',
    500: '#372b60',
    950: '#000000',
  },
}
SCSS
$custom: #372b60;
$custom-light: #71648d;
$custom-dark: #000000;
JSON
{
  "hex": "#372b60",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 253.585,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33157,
    "c": 0.0905,
    "h": 291.1
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#372B60
secondary
#849255
accent
#CE5AB4
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#08050C
muted
#7B7A7D

Preview Lab

Preview with #372B60

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

Preview Lab → · Contrast checker → · Palette generator →

#372B60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva