#371C9A#371C9A

#371C9A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.186 H 281.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#371C9A
RGBrgb(55, 28, 154)
HSLhsl(253, 69%, 36%)
HSVhsv(253, 82%, 60%)
CMYKcmyk(64.3%, 81.8%, 0%, 39.6%)
CIE-LABlab(23.59, 46.84, -63.20)
CIE-LCHlch(23.59, 78.67, 306.54°)
OKLaboklab(36.24% 0.0375 -0.1824)
OKLCHoklch(36.24% 0.186 281.6)
XYZxyz(7.8217, 3.9752, 30.9207)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C9A #7F9A1C
analogous
#1C409A #371C9A #761C9A
triadic
#371C9A #9A371C #1C9A37
tetradic
#371C9A #9A1C40 #7F9A1C #1C9A76
square
#371C9A #9A1C40 #7F9A1C #1C9A76
split-complementary
#371C9A #9A761C #409A1C
monochromatic
#120932 #251366 #371C9A #4925CE #7051DF

Accessibility & contrast

On white

11.70
#371C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#371C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C9A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C9A#FFFFFF#000000##FFFFFF
##371C9A1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #371c9a;
/* rgb */ color: rgb(55, 28, 154);
/* oklch */ color: oklch(36.2% 0.186 281.6);
Tailwind
colors: {
  custom: {
    50: '#7c5db9',
    500: '#371c9a',
    950: '#000000',
  },
}
SCSS
$custom: #371c9a;
$custom-light: #7c5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#371c9a",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 252.857,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.18618,
    "h": 281.6
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#371C9A
secondary
#AAC250
accent
#EC3CC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #371C9A

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

Preview Lab → · Contrast checker → · Palette generator →

#371C9A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva