#372973#372973

#372973 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.122 H 286.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#372973
RGBrgb(55, 41, 115)
HSLhsl(251, 47%, 31%)
HSVhsv(251, 64%, 45%)
CMYKcmyk(52.2%, 64.3%, 0%, 54.9%)
CIE-LABlab(22.43, 27.31, -40.65)
CIE-LCHlch(22.43, 48.97, 303.89°)
OKLaboklab(34.28% 0.0352 -0.1164)
OKLCHoklch(34.28% 0.122 286.8)
XYZxyz(5.4621, 3.6356, 16.6303)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372973 #657329
analogous
#294073 #372973 #5C2973
triadic
#372973 #733729 #297337
tetradic
#372973 #732940 #657329 #29735C
square
#372973 #732940 #657329 #29735C
split-complementary
#372973 #735C29 #407329
monochromatic
#0C0919 #211946 #372973 #4D39A0 #6954C2

Accessibility & contrast

On white

12.16
#372973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#372973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##372973#FFFFFF#000000##FFFFFF
##3729731.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)
#003775
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#223A4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372973;
/* rgb */ color: rgb(55, 41, 115);
/* oklch */ color: oklch(34.3% 0.122 286.8);
Tailwind
colors: {
  custom: {
    50: '#74639c',
    500: '#372973',
    950: '#000000',
  },
}
SCSS
$custom: #372973;
$custom-light: #74639c;
$custom-dark: #000000;
JSON
{
  "hex": "#372973",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 251.351,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.1216,
    "h": 286.8
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#372973
secondary
#95A553
accent
#D751BE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #372973

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

Preview Lab → · Contrast checker → · Palette generator →

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