#372A69#372A69

#372A69 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.6% C 0.106 H 288.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#372A69
RGBrgb(55, 42, 105)
HSLhsl(252, 43%, 29%)
HSVhsv(252, 60%, 41%)
CMYKcmyk(47.6%, 60%, 0%, 58.8%)
CIE-LABlab(21.90, 23.39, -35.05)
CIE-LCHlch(21.90, 42.14, 303.71°)
OKLaboklab(33.64% 0.0343 -0.0999)
OKLCHoklch(33.64% 0.106 288.9)
XYZxyz(4.9526, 3.4879, 13.7741)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A69 #5C692A
analogous
#2A3D69 #372A69 #572A69
triadic
#372A69 #69372A #2A6937
tetradic
#372A69 #692A3D #5C692A #2A6957
square
#372A69 #692A3D #5C692A #2A6957
split-complementary
#372A69 #69572A #3D692A
monochromatic
#0B0916 #20193D #372A69 #4E3B95 #6853BA

Accessibility & contrast

On white

12.37
#372A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A69
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A69#FFFFFF#000000##FFFFFF
##372A691.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366B
Deuteranopia (green-blind)
#063368
Tritanopia (blue-blind)
#283845
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372a69;
/* rgb */ color: rgb(55, 42, 105);
/* oklch */ color: oklch(33.6% 0.106 288.9);
Tailwind
colors: {
  custom: {
    50: '#726494',
    500: '#372a69',
    950: '#000000',
  },
}
SCSS
$custom: #372a69;
$custom-light: #726494;
$custom-dark: #000000;
JSON
{
  "hex": "#372a69",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 252.381,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.10564,
    "h": 288.9
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#372A69
secondary
#8C9B54
accent
#D355B9
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #372A69

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

Preview Lab → · Contrast checker → · Palette generator →

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