#371056#371056

#371056 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.119 H 305.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#371056
RGBrgb(55, 16, 86)
HSLhsl(273, 69%, 20%)
HSVhsv(273, 81%, 34%)
CMYKcmyk(36%, 81.4%, 0%, 66.3%)
CIE-LABlab(14.71, 33.04, -34.11)
CIE-LCHlch(14.71, 47.49, 314.09°)
OKLaboklab(27.96% 0.0683 -0.0971)
OKLCHoklch(27.96% 0.119 305.1)
XYZxyz(3.4402, 1.8547, 8.9791)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371056 #2F5610
analogous
#141056 #371056 #561052
triadic
#371056 #563710 #105637
tetradic
#371056 #561410 #2F5610 #105256
square
#371056 #561410 #2F5610 #105256
split-complementary
#371056 #525610 #105614
monochromatic
#11051A #160622 #371056 #581A8A #7923BD

Accessibility & contrast

On white

15.32
#371056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#371056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371056
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371056#FFFFFF#000000##FFFFFF
##3710561.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#312132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371056;
/* rgb */ color: rgb(55, 16, 86);
/* oklch */ color: oklch(28.0% 0.119 305.1);
Tailwind
colors: {
  custom: {
    50: '#725386',
    500: '#371056',
    950: '#000000',
  },
}
SCSS
$custom: #371056;
$custom-light: #725386;
$custom-dark: #000000;
JSON
{
  "hex": "#371056",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 273.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.27957,
    "c": 0.1187,
    "h": 305.1
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#371056
secondary
#5C8F32
accent
#EB3C8A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #371056

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

Preview Lab → · Contrast checker → · Palette generator →

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