#372A4E#372A4E

#372A4E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.7% C 0.064 H 299.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#372A4E
RGBrgb(55, 42, 78)
HSLhsl(262, 30%, 24%)
HSVhsv(262, 46%, 31%)
CMYKcmyk(29.5%, 46.2%, 0%, 69.4%)
CIE-LABlab(20.12, 14.97, -20.04)
CIE-LCHlch(20.12, 25.01, 306.76°)
OKLaboklab(31.74% 0.0315 -0.056)
OKLCHoklch(31.74% 0.064 299.4)
XYZxyz(3.7783, 3.0182, 7.5898)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A4E #414E2A
analogous
#2A2F4E #372A4E #492A4E
triadic
#372A4E #4E372A #2A4E37
tetradic
#372A4E #4E2A2F #414E2A #2A4E49
square
#372A4E #4E2A2F #414E2A #2A4E49
split-complementary
#372A4E #4E492A #2F4E2A
monochromatic
#0E0B14 #1B1526 #372A4E #533F76 #6F559E

Accessibility & contrast

On white

13.10
#372A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#372A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A4E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A4E#FFFFFF#000000##FFFFFF
##372A4E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#23304D
Tritanopia (blue-blind)
#333038
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #372a4e;
/* rgb */ color: rgb(55, 42, 78);
/* oklch */ color: oklch(31.7% 0.064 299.4);
Tailwind
colors: {
  custom: {
    50: '#6f6380',
    500: '#372a4e',
    950: '#000000',
  },
}
SCSS
$custom: #372a4e;
$custom-light: #6f6380;
$custom-dark: #000000;
JSON
{
  "hex": "#372a4e",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 261.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31736,
    "c": 0.06425,
    "h": 299.4
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#372A4E
secondary
#708054
accent
#C662A2
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #372A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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