#372A68#372A68

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

Color values

HEX#372A68
RGBrgb(55, 42, 104)
HSLhsl(253, 42%, 29%)
HSVhsv(253, 60%, 41%)
CMYKcmyk(47.1%, 59.6%, 0%, 59.2%)
CIE-LABlab(21.83, 23.06, -34.52)
CIE-LCHlch(21.83, 41.52, 303.75°)
OKLaboklab(33.57% 0.0343 -0.0984)
OKLCHoklch(33.57% 0.104 289.2)
XYZxyz(4.9015, 3.4675, 13.5050)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A68 #5B682A
analogous
#2A3C68 #372A68 #562A68
triadic
#372A68 #68372A #2A6837
tetradic
#372A68 #682A3C #5B682A #2A6856
square
#372A68 #682A3C #5B682A #2A6856
split-complementary
#372A68 #68562A #3C682A
monochromatic
#0C0916 #20183C #372A68 #4E3C94 #6853B9

Accessibility & contrast

On white

12.40
#372A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A68
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A68#FFFFFF#000000##FFFFFF
##372A681.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366A
Deuteranopia (green-blind)
#083367
Tritanopia (blue-blind)
#283844
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372a68;
/* rgb */ color: rgb(55, 42, 104);
/* oklch */ color: oklch(33.6% 0.104 289.2);
Tailwind
colors: {
  custom: {
    50: '#726494',
    500: '#372a68',
    950: '#000000',
  },
}
SCSS
$custom: #372a68;
$custom-light: #726494;
$custom-dark: #000000;
JSON
{
  "hex": "#372a68",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 252.581,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.10417,
    "h": 289.2
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#372A68
secondary
#8B9A54
accent
#D256B8
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #372A68

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

Preview Lab → · Contrast checker → · Palette generator →

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