#371556#371556

#371556 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.112 H 304.0°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#371556
RGBrgb(55, 21, 86)
HSLhsl(271, 61%, 21%)
HSVhsv(271, 76%, 34%)
CMYKcmyk(36%, 75.6%, 0%, 66.3%)
CIE-LABlab(15.59, 30.53, -32.67)
CIE-LCHlch(15.59, 44.71, 313.06°)
OKLaboklab(28.59% 0.0627 -0.0929)
OKLCHoklch(28.59% 0.112 304)
XYZxyz(3.5230, 2.0205, 9.0067)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371556 #345615
analogous
#161556 #371556 #561554
triadic
#371556 #563715 #155637
tetradic
#371556 #561615 #345615 #155456
square
#371556 #561615 #345615 #155456
split-complementary
#371556 #545615 #155616
monochromatic
#100619 #180925 #371556 #562187 #762DB8

Accessibility & contrast

On white

14.96
#371556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#371556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371556
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371556#FFFFFF#000000##FFFFFF
##3715561.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#312433
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371556;
/* rgb */ color: rgb(55, 21, 86);
/* oklch */ color: oklch(28.6% 0.112 304.0);
Tailwind
colors: {
  custom: {
    50: '#715586',
    500: '#371556',
    950: '#000000',
  },
}
SCSS
$custom: #371556;
$custom-light: #715586;
$custom-dark: #000000;
JSON
{
  "hex": "#371556",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 271.385,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28587,
    "c": 0.11206,
    "h": 304
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#371556
secondary
#618E39
accent
#E44490
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371556

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

Preview Lab → · Contrast checker → · Palette generator →

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