#371376#371376

#371376 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.152 H 291.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#371376
RGBrgb(55, 19, 118)
HSLhsl(262, 72%, 27%)
HSVhsv(262, 84%, 46%)
CMYKcmyk(53.4%, 83.9%, 0%, 53.7%)
CIE-LABlab(18.30, 40.46, -49.32)
CIE-LCHlch(18.30, 63.79, 309.36°)
OKLaboklab(31.42% 0.0556 -0.1417)
OKLCHoklch(31.42% 0.152 291.4)
XYZxyz(5.0775, 2.5858, 17.3676)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371376 #527613
analogous
#132176 #371376 #691376
triadic
#371376 #763713 #137637
tetradic
#371376 #761321 #527613 #137669
square
#371376 #761321 #527613 #137669
split-complementary
#371376 #766913 #217613
monochromatic
#0C041A #1E0B41 #371376 #501BAB #6927DC

Accessibility & contrast

On white

13.84
#371376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371376
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371376#FFFFFF#000000##FFFFFF
##3713761.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#213045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371376;
/* rgb */ color: rgb(55, 19, 118);
/* oklch */ color: oklch(31.4% 0.152 291.4);
Tailwind
colors: {
  custom: {
    50: '#76569e',
    500: '#371376',
    950: '#000000',
  },
}
SCSS
$custom: #371376;
$custom-light: #76569e;
$custom-dark: #000000;
JSON
{
  "hex": "#371376",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 261.818,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.15224,
    "h": 291.4
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#371376
secondary
#82AC39
accent
#EF39AD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #371376

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

Preview Lab → · Contrast checker → · Palette generator →

#371376 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva