#371D76#371D76

#371D76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.142 H 289.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#371D76
RGBrgb(55, 29, 118)
HSLhsl(258, 61%, 29%)
HSVhsv(258, 75%, 46%)
CMYKcmyk(53.4%, 75.4%, 0%, 53.7%)
CIE-LABlab(20.04, 35.49, -46.47)
CIE-LCHlch(20.04, 58.47, 307.37°)
OKLaboklab(32.64% 0.0473 -0.1335)
OKLCHoklch(32.64% 0.142 289.5)
XYZxyz(5.2840, 2.9987, 17.4364)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D76 #5C761D
analogous
#1D3076 #371D76 #641D76
triadic
#371D76 #76371D #1D7637
tetradic
#371D76 #761D30 #5C761D #1D7664
square
#371D76 #761D30 #5C761D #1D7664
split-complementary
#371D76 #76641D #30761D
monochromatic
#0B0619 #201145 #371D76 #4E29A7 #683ED0

Accessibility & contrast

On white

13.13
#371D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#371D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D76
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D76#FFFFFF#000000##FFFFFF
##371D761.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371d76;
/* rgb */ color: rgb(55, 29, 118);
/* oklch */ color: oklch(32.6% 0.142 289.5);
Tailwind
colors: {
  custom: {
    50: '#755c9e',
    500: '#371d76',
    950: '#000000',
  },
}
SCSS
$custom: #371d76;
$custom-light: #755c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#371d76",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 257.528,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3264,
    "c": 0.14161,
    "h": 289.5
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#371D76
secondary
#8CAA45
accent
#E444B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371D76

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

Preview Lab → · Contrast checker → · Palette generator →

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