#371C76#371C76

#371C76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.143 H 289.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#371C76
RGBrgb(55, 28, 118)
HSLhsl(258, 62%, 29%)
HSVhsv(258, 76%, 46%)
CMYKcmyk(53.4%, 76.3%, 0%, 53.7%)
CIE-LABlab(19.84, 36.04, -46.79)
CIE-LCHlch(19.84, 59.06, 307.60°)
OKLaboklab(32.5% 0.0482 -0.1344)
OKLCHoklch(32.5% 0.143 289.7)
XYZxyz(5.2599, 2.9505, 17.4284)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C76 #5B761C
analogous
#1C2E76 #371C76 #641C76
triadic
#371C76 #76371C #1C7637
tetradic
#371C76 #761C2E #5B761C #1C7664
square
#371C76 #761C2E #5B761C #1C7664
split-complementary
#371C76 #76641C #2E761C
monochromatic
#0C0619 #201045 #371C76 #4E28A7 #683CD1

Accessibility & contrast

On white

13.21
#371C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#371C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C76
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C76#FFFFFF#000000##FFFFFF
##371C761.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#203447
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #371c76;
/* rgb */ color: rgb(55, 28, 118);
/* oklch */ color: oklch(32.5% 0.143 289.7);
Tailwind
colors: {
  custom: {
    50: '#755b9e',
    500: '#371c76',
    950: '#000000',
  },
}
SCSS
$custom: #371c76;
$custom-light: #755b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#371c76",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 258,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32503,
    "c": 0.1428,
    "h": 289.7
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#371C76
secondary
#8BAA44
accent
#E543B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C76

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

Preview Lab → · Contrast checker → · Palette generator →

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