#372B63#372B63

#372B63 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.4% C 0.095 H 290.1°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#372B63
RGBrgb(55, 43, 99)
HSLhsl(253, 39%, 28%)
HSVhsv(253, 57%, 39%)
CMYKcmyk(44.4%, 56.6%, 0%, 61.2%)
CIE-LABlab(21.73, 20.78, -31.42)
CIE-LCHlch(21.73, 37.67, 303.48°)
OKLaboklab(33.38% 0.0327 -0.0892)
OKLCHoklch(33.38% 0.095 290.1)
XYZxyz(4.6909, 3.4407, 12.2189)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B63 #57632B
analogous
#2B3B63 #372B63 #532B63
triadic
#372B63 #63372B #2B6337
tetradic
#372B63 #632B3B #57632B #2B6353
square
#372B63 #632B3B #57632B #2B6353
split-complementary
#372B63 #63532B #3B632B
monochromatic
#0C0915 #1F1838 #372B63 #4F3E8E #6954B5

Accessibility & contrast

On white

12.44
#372B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#372B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B63
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B63#FFFFFF#000000##FFFFFF
##372B631.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113565
Deuteranopia (green-blind)
#133362
Tritanopia (blue-blind)
#2B3742
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372b63;
/* rgb */ color: rgb(55, 43, 99);
/* oklch */ color: oklch(33.4% 0.095 290.1);
Tailwind
colors: {
  custom: {
    50: '#716490',
    500: '#372b63',
    950: '#000000',
  },
}
SCSS
$custom: #372b63;
$custom-light: #716490;
$custom-dark: #000000;
JSON
{
  "hex": "#372b63",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 252.857,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.09507,
    "h": 290.1
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#372B63
secondary
#879555
accent
#CF58B6
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08050C
muted
#7B7A7D

Preview Lab

Preview with #372B63

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

Preview Lab → · Contrast checker → · Palette generator →

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