#371E92#371E92

#371E92 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.175 H 282.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#371E92
RGBrgb(55, 30, 146)
HSLhsl(253, 66%, 35%)
HSVhsv(253, 79%, 57%)
CMYKcmyk(62.3%, 79.5%, 0%, 42.7%)
CIE-LABlab(23.05, 43.49, -59.16)
CIE-LCHlch(23.05, 73.42, 306.32°)
OKLaboklab(35.61% 0.0388 -0.1706)
OKLCHoklch(35.61% 0.175 282.8)
XYZxyz(7.2265, 3.8156, 27.5442)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E92 #79921E
analogous
#1E3F92 #371E92 #711E92
triadic
#371E92 #92371E #1E9237
tetradic
#371E92 #921E3F #79921E #1E9271
square
#371E92 #921E3F #79921E #1E9271
split-complementary
#371E92 #92711E #3F921E
monochromatic
#11092C #24145F #371E92 #4A28C5 #6E4FDB

Accessibility & contrast

On white

11.91
#371E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371E92
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E92#FFFFFF#000000##FFFFFF
##371E921.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #371e92;
/* rgb */ color: rgb(55, 30, 146);
/* oklch */ color: oklch(35.6% 0.175 282.8);
Tailwind
colors: {
  custom: {
    50: '#7a5eb3',
    500: '#371e92',
    950: '#000000',
  },
}
SCSS
$custom: #371e92;
$custom-light: #7a5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#371e92",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 252.931,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.17497,
    "h": 282.8
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #371E92

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

Preview Lab → · Contrast checker → · Palette generator →

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