#371C96#371C96

#371C96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.182 H 282.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#371C96
RGBrgb(55, 28, 150)
HSLhsl(253, 69%, 35%)
HSVhsv(253, 81%, 59%)
CMYKcmyk(63.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(23.15, 45.65, -61.47)
CIE-LCHlch(23.15, 76.57, 306.60°)
OKLaboklab(35.81% 0.0388 -0.1773)
OKLCHoklch(35.81% 0.182 282.3)
XYZxyz(7.4941, 3.8442, 29.1953)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C96 #7B961C
analogous
#1C3E96 #371C96 #741C96
triadic
#371C96 #96371C #1C9637
tetradic
#371C96 #961C3E #7B961C #1C9674
square
#371C96 #961C3E #7B961C #1C9674
split-complementary
#371C96 #96741C #3E961C
monochromatic
#11092F #241262 #371C96 #4A26CA #6E4EDE

Accessibility & contrast

On white

11.87
#371C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#371C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C96
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C96#FFFFFF#000000##FFFFFF
##371C961.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #371c96;
/* rgb */ color: rgb(55, 28, 150);
/* oklch */ color: oklch(35.8% 0.182 282.3);
Tailwind
colors: {
  custom: {
    50: '#7b5db6',
    500: '#371c96',
    950: '#000000',
  },
}
SCSS
$custom: #371c96;
$custom-light: #7b5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#371c96",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 253.279,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.18151,
    "h": 282.3
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#371C96
secondary
#A7C14D
accent
#EB3CC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #371C96

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

Preview Lab → · Contrast checker → · Palette generator →

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