#371356#371356

#371356 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.115 H 304.5°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#371356
RGBrgb(55, 19, 86)
HSLhsl(272, 64%, 21%)
HSVhsv(272, 78%, 34%)
CMYKcmyk(36%, 77.9%, 0%, 66.3%)
CIE-LABlab(15.22, 31.57, -33.27)
CIE-LCHlch(15.22, 45.87, 313.50°)
OKLaboklab(28.32% 0.065 -0.0947)
OKLCHoklch(28.32% 0.115 304.5)
XYZxyz(3.4878, 1.9499, 8.9949)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371356 #325613
analogous
#151356 #371356 #561353
triadic
#371356 #563713 #135637
tetradic
#371356 #561513 #325613 #135356
square
#371356 #561513 #325613 #135356
split-complementary
#371356 #535613 #135615
monochromatic
#100619 #170824 #371356 #571E88 #7729BA

Accessibility & contrast

On white

15.11
#371356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371356
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371356#FFFFFF#000000##FFFFFF
##3713561.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#312333
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371356;
/* rgb */ color: rgb(55, 19, 86);
/* oklch */ color: oklch(28.3% 0.115 304.5);
Tailwind
colors: {
  custom: {
    50: '#715486',
    500: '#371356',
    950: '#000000',
  },
}
SCSS
$custom: #371356;
$custom-light: #715486;
$custom-dark: #000000;
JSON
{
  "hex": "#371356",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 272.239,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28322,
    "c": 0.11483,
    "h": 304.5
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#371356
secondary
#5F8E36
accent
#E7418E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371356

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

Preview Lab → · Contrast checker → · Palette generator →

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