#371076#371076

#371076 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.155 H 291.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#371076
RGBrgb(55, 16, 118)
HSLhsl(263, 76%, 26%)
HSVhsv(263, 86%, 46%)
CMYKcmyk(53.4%, 86.4%, 0%, 53.7%)
CIE-LABlab(17.88, 41.70, -50.02)
CIE-LCHlch(17.88, 65.13, 309.82°)
OKLaboklab(31.13% 0.0576 -0.1438)
OKLCHoklch(31.13% 0.155 291.8)
XYZxyz(5.0299, 2.4906, 17.3517)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371076 #4F7610
analogous
#101C76 #371076 #6A1076
triadic
#371076 #763710 #107637
tetradic
#371076 #76101C #4F7610 #10766A
square
#371076 #76101C #4F7610 #10766A
split-complementary
#371076 #766A10 #1C7610
monochromatic
#0D041B #1E0940 #371076 #5017AC #6920E1

Accessibility & contrast

On white

14.02
#371076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371076
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371076#FFFFFF#000000##FFFFFF
##3710761.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#212F45
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371076;
/* rgb */ color: rgb(55, 16, 118);
/* oklch */ color: oklch(31.1% 0.155 291.8);
Tailwind
colors: {
  custom: {
    50: '#76559f',
    500: '#371076',
    950: '#000000',
  },
}
SCSS
$custom: #371076;
$custom-light: #76559f;
$custom-dark: #000000;
JSON
{
  "hex": "#371076",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 262.941,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31131,
    "c": 0.15487,
    "h": 291.8
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#371076
secondary
#7FAD35
accent
#F335AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #371076

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

Preview Lab → · Contrast checker → · Palette generator →

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