#371A76#371A76

#371A76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.145 H 290.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#371A76
RGBrgb(55, 26, 118)
HSLhsl(259, 64%, 28%)
HSVhsv(259, 78%, 46%)
CMYKcmyk(53.4%, 78%, 0%, 53.7%)
CIE-LABlab(19.47, 37.10, -47.41)
CIE-LCHlch(19.47, 60.20, 308.05°)
OKLaboklab(32.24% 0.05 -0.1362)
OKLCHoklch(32.24% 0.145 290.2)
XYZxyz(5.2140, 2.8588, 17.4131)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A76 #59761A
analogous
#1A2B76 #371A76 #651A76
triadic
#371A76 #76371A #1A7637
tetradic
#371A76 #761A2B #59761A #1A7665
square
#371A76 #761A2B #59761A #1A7665
split-complementary
#371A76 #76651A #2B761A
monochromatic
#0C0619 #200F44 #371A76 #4E25A8 #6837D3

Accessibility & contrast

On white

13.36
#371A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#371A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A76
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A76#FFFFFF#000000##FFFFFF
##371A761.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#203347
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371a76;
/* rgb */ color: rgb(55, 26, 118);
/* oklch */ color: oklch(32.2% 0.145 290.2);
Tailwind
colors: {
  custom: {
    50: '#755a9e',
    500: '#371a76',
    950: '#000000',
  },
}
SCSS
$custom: #371a76;
$custom-light: #755a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#371a76",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 258.913,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32239,
    "c": 0.14509,
    "h": 290.2
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#371A76
secondary
#89AB41
accent
#E741B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371A76

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

Preview Lab → · Contrast checker → · Palette generator →

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