#372A70#372A70

#372A70 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.2% C 0.116 H 287.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#372A70
RGBrgb(55, 42, 112)
HSLhsl(251, 45%, 30%)
HSVhsv(251, 63%, 44%)
CMYKcmyk(50.9%, 62.5%, 0%, 56.1%)
CIE-LABlab(22.44, 25.68, -38.71)
CIE-LCHlch(22.44, 46.45, 303.55°)
OKLaboklab(34.21% 0.0341 -0.1107)
OKLCHoklch(34.21% 0.116 287.1)
XYZxyz(5.3273, 3.6378, 15.7476)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A70 #63702A
analogous
#2A4070 #372A70 #5A2A70
triadic
#372A70 #70372A #2A7037
tetradic
#372A70 #702A40 #63702A #2A705A
square
#372A70 #702A40 #63702A #2A705A
split-complementary
#372A70 #705A2A #40702A
monochromatic
#0B0917 #211943 #372A70 #4D3B9D #6955BF

Accessibility & contrast

On white

12.16
#372A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#372A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A70
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A70#FFFFFF#000000##FFFFFF
##372A701.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#243A48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372a70;
/* rgb */ color: rgb(55, 42, 112);
/* oklch */ color: oklch(34.2% 0.116 287.1);
Tailwind
colors: {
  custom: {
    50: '#73649a',
    500: '#372a70',
    950: '#000000',
  },
}
SCSS
$custom: #372a70;
$custom-light: #73649a;
$custom-dark: #000000;
JSON
{
  "hex": "#372a70",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 251.143,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34208,
    "c": 0.11584,
    "h": 287.1
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#372A70
secondary
#93A254
accent
#D553BD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #372A70

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

Preview Lab → · Contrast checker → · Palette generator →

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