#372B70#372B70

#372B70 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.4% C 0.114 H 286.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#372B70
RGBrgb(55, 43, 112)
HSLhsl(250, 45%, 30%)
HSVhsv(250, 62%, 44%)
CMYKcmyk(50.9%, 61.6%, 0%, 56.1%)
CIE-LABlab(22.69, 25.02, -38.31)
CIE-LCHlch(22.69, 45.76, 303.15°)
OKLaboklab(34.39% 0.0329 -0.1095)
OKLCHoklch(34.39% 0.114 286.7)
XYZxyz(5.3632, 3.7096, 15.7595)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B70 #64702B
analogous
#2B4170 #372B70 #592B70
triadic
#372B70 #70372B #2B7037
tetradic
#372B70 #702B41 #64702B #2B7059
square
#372B70 #702B41 #64702B #2B7059
split-complementary
#372B70 #70592B #41702B
monochromatic
#0C0918 #211A44 #372B70 #4D3C9C #6957BE

Accessibility & contrast

On white

12.06
#372B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#372B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B70
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B70#FFFFFF#000000##FFFFFF
##372B701.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#233B49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372b70;
/* rgb */ color: rgb(55, 43, 112);
/* oklch */ color: oklch(34.4% 0.114 286.7);
Tailwind
colors: {
  custom: {
    50: '#73659a',
    500: '#372b70',
    950: '#000000',
  },
}
SCSS
$custom: #372b70;
$custom-light: #73659a;
$custom-dark: #000000;
JSON
{
  "hex": "#372b70",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 250.435,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34392,
    "c": 0.11434,
    "h": 286.7
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#372B70
secondary
#94A255
accent
#D454BE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372B70

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

Preview Lab → · Contrast checker → · Palette generator →

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