#372084#372084

#372084 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.156 H 285.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#372084
RGBrgb(55, 32, 132)
HSLhsl(254, 61%, 32%)
HSVhsv(254, 76%, 52%)
CMYKcmyk(58.3%, 75.8%, 0%, 48.2%)
CIE-LABlab(21.98, 38.15, -52.18)
CIE-LCHlch(21.98, 64.64, 306.18°)
OKLaboklab(34.43% 0.0413 -0.1502)
OKLCHoklch(34.43% 0.156 285.4)
XYZxyz(6.2557, 3.5108, 22.1733)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372084 #6D8420
analogous
#203B84 #372084 #692084
triadic
#372084 #843720 #208437
tetradic
#372084 #84203B #6D8420 #208469
square
#372084 #84203B #6D8420 #208469
split-complementary
#372084 #846920 #3B8420
monochromatic
#0E0821 #221453 #372084 #4C2CB5 #6A4BD3

Accessibility & contrast

On white

12.34
#372084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372084
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372084#FFFFFF#000000##FFFFFF
##3720841.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#113C50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372084;
/* rgb */ color: rgb(55, 32, 132);
/* oklch */ color: oklch(34.4% 0.156 285.4);
Tailwind
colors: {
  custom: {
    50: '#775ea9',
    500: '#372084',
    950: '#000000',
  },
}
SCSS
$custom: #372084;
$custom-light: #775ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#372084",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 253.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.15578,
    "h": 285.4
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#372084
secondary
#9DB64A
accent
#E444BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #372084

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

Preview Lab → · Contrast checker → · Palette generator →

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