#371656#371656

#371656 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.111 H 303.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#371656
RGBrgb(55, 22, 86)
HSLhsl(271, 59%, 21%)
HSVhsv(271, 74%, 34%)
CMYKcmyk(36%, 74.4%, 0%, 66.3%)
CIE-LABlab(15.79, 29.99, -32.36)
CIE-LCHlch(15.79, 44.12, 312.82°)
OKLaboklab(28.73% 0.0615 -0.092)
OKLCHoklch(28.73% 0.111 303.8)
XYZxyz(3.5418, 2.0579, 9.0129)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371656 #355616
analogous
#171656 #371656 #561655
triadic
#371656 #563716 #165637
tetradic
#371656 #561716 #355616 #165556
square
#371656 #561716 #355616 #165556
split-complementary
#371656 #555616 #165617
monochromatic
#100618 #180A25 #371656 #562287 #752FB7

Accessibility & contrast

On white

14.88
#371656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371656
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371656#FFFFFF#000000##FFFFFF
##3716561.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371656;
/* rgb */ color: rgb(55, 22, 86);
/* oklch */ color: oklch(28.7% 0.111 303.8);
Tailwind
colors: {
  custom: {
    50: '#715686',
    500: '#371656',
    950: '#000000',
  },
}
SCSS
$custom: #371656;
$custom-light: #715686;
$custom-dark: #000000;
JSON
{
  "hex": "#371656",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 270.938,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.11062,
    "h": 303.8
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#371656
secondary
#638D3A
accent
#E24591
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371656

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

Preview Lab → · Contrast checker → · Palette generator →

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