#372A66#372A66

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

Color values

HEX#372A66
RGBrgb(55, 42, 102)
HSLhsl(253, 42%, 28%)
HSVhsv(253, 59%, 40%)
CMYKcmyk(46.1%, 58.8%, 0%, 60%)
CIE-LABlab(21.68, 22.42, -33.46)
CIE-LCHlch(21.68, 40.27, 303.82°)
OKLaboklab(33.41% 0.0342 -0.0952)
OKLCHoklch(33.41% 0.101 289.8)
XYZxyz(4.8011, 3.4273, 12.9764)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A66 #59662A
analogous
#2A3B66 #372A66 #552A66
triadic
#372A66 #66372A #2A6637
tetradic
#372A66 #662A3B #59662A #2A6655
square
#372A66 #662A3B #59662A #2A6655
split-complementary
#372A66 #66552A #3B662A
monochromatic
#0C0916 #20183B #372A66 #4E3C91 #6852B8

Accessibility & contrast

On white

12.46
#372A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A66
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A66#FFFFFF#000000##FFFFFF
##372A661.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#293743
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372a66;
/* rgb */ color: rgb(55, 42, 102);
/* oklch */ color: oklch(33.4% 0.101 289.8);
Tailwind
colors: {
  custom: {
    50: '#716492',
    500: '#372a66',
    950: '#000000',
  },
}
SCSS
$custom: #372a66;
$custom-light: #716492;
$custom-dark: #000000;
JSON
{
  "hex": "#372a66",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 253,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.1012,
    "h": 289.8
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#372A66
secondary
#899854
accent
#D156B7
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #372A66

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

Preview Lab → · Contrast checker → · Palette generator →

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