#371E91#371E91

#371E91 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.174 H 283.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#371E91
RGBrgb(55, 30, 145)
HSLhsl(253, 66%, 34%)
HSVhsv(253, 79%, 57%)
CMYKcmyk(62.1%, 79.3%, 0%, 43.1%)
CIE-LABlab(22.95, 43.19, -58.71)
CIE-LCHlch(22.95, 72.89, 306.34°)
OKLaboklab(35.51% 0.0391 -0.1693)
OKLCHoklch(35.51% 0.174 283)
XYZxyz(7.1491, 3.7846, 27.1364)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E91 #78911E
analogous
#1E3F91 #371E91 #701E91
triadic
#371E91 #91371E #1E9137
tetradic
#371E91 #911E3F #78911E #1E9170
square
#371E91 #911E3F #78911E #1E9170
split-complementary
#371E91 #91701E #3F911E
monochromatic
#11092C #24145E #371E91 #4A28C4 #6D4FDB

Accessibility & contrast

On white

11.95
#371E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#371E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E91
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E91#FFFFFF#000000##FFFFFF
##371E911.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #371e91;
/* rgb */ color: rgb(55, 30, 145);
/* oklch */ color: oklch(35.5% 0.174 283.0);
Tailwind
colors: {
  custom: {
    50: '#7a5eb2',
    500: '#371e91',
    950: '#000000',
  },
}
SCSS
$custom: #371e91;
$custom-light: #7a5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#371e91",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 253.043,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35508,
    "c": 0.17377,
    "h": 283
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#371E91
secondary
#A5BD4D
accent
#E93FC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371E91

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

Preview Lab → · Contrast checker → · Palette generator →

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