#371F92#371F92

#371F92 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.174 H 282.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#371F92
RGBrgb(55, 31, 146)
HSLhsl(253, 65%, 35%)
HSVhsv(253, 79%, 57%)
CMYKcmyk(62.3%, 78.8%, 0%, 42.7%)
CIE-LABlab(23.23, 42.99, -58.87)
CIE-LCHlch(23.23, 72.90, 306.14°)
OKLaboklab(35.74% 0.0382 -0.1698)
OKLCHoklch(35.74% 0.174 282.7)
XYZxyz(7.2522, 3.8670, 27.5528)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371F92 #7A921F
analogous
#1F4092 #371F92 #711F92
triadic
#371F92 #92371F #1F9237
tetradic
#371F92 #921F40 #7A921F #1F9271
square
#371F92 #921F40 #7A921F #1F9271
split-complementary
#371F92 #92711F #40921F
monochromatic
#110A2D #241460 #371F92 #4A2AC4 #6E51DA

Accessibility & contrast

On white

11.84
#371F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371F92
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371F92#FFFFFF#000000##FFFFFF
##371F921.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371f92;
/* rgb */ color: rgb(55, 31, 146);
/* oklch */ color: oklch(35.7% 0.174 282.7);
Tailwind
colors: {
  custom: {
    50: '#7a5eb3',
    500: '#371f92',
    950: '#000000',
  },
}
SCSS
$custom: #371f92;
$custom-light: #7a5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#371f92",
  "rgb": {
    "r": 55,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 252.522,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.17401,
    "h": 282.7
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#371F92
secondary
#A6BD50
accent
#E840C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #371F92

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

Preview Lab → · Contrast checker → · Palette generator →

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