#371D9E#371D9E

#371D9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.190 H 280.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#371D9E
RGBrgb(55, 29, 158)
HSLhsl(252, 69%, 37%)
HSVhsv(252, 82%, 62%)
CMYKcmyk(65.2%, 81.6%, 0%, 38%)
CIE-LABlab(24.19, 47.56, -64.66)
CIE-LCHlch(24.19, 80.27, 306.34°)
OKLaboklab(36.79% 0.0357 -0.1866)
OKLCHoklch(36.79% 0.19 280.8)
XYZxyz(8.1845, 4.1589, 32.7126)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D9E #849E1D
analogous
#1D449E #371D9E #781D9E
triadic
#371D9E #9E371D #1D9E37
tetradic
#371D9E #9E1D44 #849E1D #1D9E78
square
#371D9E #9E1D44 #849E1D #1D9E78
split-complementary
#371D9E #9E781D #449E1D
monochromatic
#130A37 #25146A #371D9E #4926D2 #7156E0

Accessibility & contrast

On white

11.46
#371D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#371D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D9E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D9E#FFFFFF#000000##FFFFFF
##371D9E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #371d9e;
/* rgb */ color: rgb(55, 29, 158);
/* oklch */ color: oklch(36.8% 0.190 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d5ebc',
    500: '#371d9e',
    950: '#000000',
  },
}
SCSS
$custom: #371d9e;
$custom-light: #7d5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#371d9e",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 252.093,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.19,
    "h": 280.8
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#371D9E
secondary
#ADC354
accent
#EC3CC8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #371D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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