#372978#372978

#372978 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.7% C 0.129 H 285.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#372978
RGBrgb(55, 41, 120)
HSLhsl(251, 49%, 32%)
HSVhsv(251, 66%, 47%)
CMYKcmyk(54.2%, 65.8%, 0%, 52.9%)
CIE-LABlab(22.84, 28.95, -43.18)
CIE-LCHlch(22.84, 51.99, 303.84°)
OKLaboklab(34.71% 0.0348 -0.1238)
OKLCHoklch(34.71% 0.129 285.7)
XYZxyz(5.7576, 3.7539, 18.1868)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372978 #6A7829
analogous
#294378 #372978 #5F2978
triadic
#372978 #783729 #297837
tetradic
#372978 #782943 #6A7829 #29785F
square
#372978 #782943 #6A7829 #29785F
split-complementary
#372978 #785F29 #437829
monochromatic
#0D0A1D #22194A #372978 #4C39A6 #6A56C5

Accessibility & contrast

On white

11.99
#372978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#372978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372978
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372978#FFFFFF#000000##FFFFFF
##3729781.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#1E3C4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372978;
/* rgb */ color: rgb(55, 41, 120);
/* oklch */ color: oklch(34.7% 0.129 285.7);
Tailwind
colors: {
  custom: {
    50: '#7463a0',
    500: '#372978',
    950: '#000000',
  },
}
SCSS
$custom: #372978;
$custom-light: #7463a0;
$custom-dark: #000000;
JSON
{
  "hex": "#372978",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 250.633,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.12862,
    "h": 285.7
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#372978
secondary
#9AAA53
accent
#D94FC0
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050F
muted
#7B797E

Preview Lab

Preview with #372978

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

Preview Lab → · Contrast checker → · Palette generator →

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