#371D92#371D92

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

Color values

HEX#371D92
RGBrgb(55, 29, 146)
HSLhsl(253, 67%, 34%)
HSVhsv(253, 80%, 57%)
CMYKcmyk(62.3%, 80.1%, 0%, 42.7%)
CIE-LABlab(22.88, 43.98, -59.44)
CIE-LCHlch(22.88, 73.94, 306.50°)
OKLaboklab(35.49% 0.0395 -0.1714)
OKLCHoklch(35.49% 0.176 283)
XYZxyz(7.2016, 3.7658, 27.5359)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D92 #78921D
analogous
#1D3E92 #371D92 #721D92
triadic
#371D92 #92371D #1D9237
tetradic
#371D92 #921D3E #78921D #1D9272
square
#371D92 #921D3E #78921D #1D9272
split-complementary
#371D92 #92721D #3E921D
monochromatic
#11092C #24135F #371D92 #4A27C5 #6D4EDC

Accessibility & contrast

On white

11.98
#371D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#371D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D92
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D92#FFFFFF#000000##FFFFFF
##371D921.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371d92;
/* rgb */ color: rgb(55, 29, 146);
/* oklch */ color: oklch(35.5% 0.176 283.0);
Tailwind
colors: {
  custom: {
    50: '#7a5db3',
    500: '#371d92',
    950: '#000000',
  },
}
SCSS
$custom: #371d92;
$custom-light: #7a5db3;
$custom-dark: #000000;
JSON
{
  "hex": "#371d92",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 253.333,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35495,
    "c": 0.1759,
    "h": 283
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#371D92
secondary
#A5BE4C
accent
#EA3EC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371D92

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

Preview Lab → · Contrast checker → · Palette generator →

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