#372A64#372A64

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

Color values

HEX#372A64
RGBrgb(55, 42, 100)
HSLhsl(253, 41%, 28%)
HSVhsv(253, 58%, 39%)
CMYKcmyk(45%, 58%, 0%, 60.8%)
CIE-LABlab(21.54, 21.77, -32.38)
CIE-LCHlch(21.54, 39.02, 303.91°)
OKLaboklab(33.26% 0.0342 -0.0921)
OKLCHoklch(33.26% 0.098 290.4)
XYZxyz(4.7031, 3.3881, 12.4603)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A64 #57642A
analogous
#2A3A64 #372A64 #542A64
triadic
#372A64 #64372A #2A6437
tetradic
#372A64 #642A3A #57642A #2A6454
square
#372A64 #642A3A #57642A #2A6454
split-complementary
#372A64 #64542A #3A642A
monochromatic
#0C0916 #1F1839 #372A64 #4F3C8F #6952B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372A64#FFFFFF#000000##FFFFFF
##372A641.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)
#0D3566
Deuteranopia (green-blind)
#0F3263
Tritanopia (blue-blind)
#2A3642
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372a64;
/* rgb */ color: rgb(55, 42, 100);
/* oklch */ color: oklch(33.3% 0.098 290.4);
Tailwind
colors: {
  custom: {
    50: '#716490',
    500: '#372a64',
    950: '#000000',
  },
}
SCSS
$custom: #372a64;
$custom-light: #716490;
$custom-dark: #000000;
JSON
{
  "hex": "#372a64",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 253.448,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.09822,
    "h": 290.4
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#372A64
secondary
#879653
accent
#D157B5
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #372A64

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

Preview Lab → · Contrast checker → · Palette generator →

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