#372687#372687

#372687 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.153 H 283.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#372687
RGBrgb(55, 38, 135)
HSLhsl(251, 56%, 34%)
HSVhsv(251, 72%, 53%)
CMYKcmyk(59.3%, 71.9%, 0%, 47.1%)
CIE-LABlab(23.50, 35.69, -51.58)
CIE-LCHlch(23.50, 62.72, 304.68°)
OKLaboklab(35.59% 0.0355 -0.1485)
OKLCHoklch(35.59% 0.153 283.5)
XYZxyz(6.6405, 3.9473, 23.3290)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372687 #768726
analogous
#264687 #372687 #682687
triadic
#372687 #873726 #268737
tetradic
#372687 #872646 #768726 #268768
square
#372687 #872646 #768726 #268768
split-complementary
#372687 #876826 #468726
monochromatic
#100B27 #241957 #372687 #4A33B7 #6D58D0

Accessibility & contrast

On white

11.73
#372687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#372687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372687
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372687#FFFFFF#000000##FFFFFF
##3726871.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#0A4053
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372687;
/* rgb */ color: rgb(55, 38, 135);
/* oklch */ color: oklch(35.6% 0.153 283.5);
Tailwind
colors: {
  custom: {
    50: '#7762ab',
    500: '#372687',
    950: '#000000',
  },
}
SCSS
$custom: #372687;
$custom-light: #7762ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372687",
  "rgb": {
    "r": 55,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 250.515,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.15268,
    "h": 283.5
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#372687
secondary
#A4B554
accent
#DF48C5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372687

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

Preview Lab → · Contrast checker → · Palette generator →

#372687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva