#371C57#371C57

#371C57 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.103 H 301.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#371C57
RGBrgb(55, 28, 87)
HSLhsl(267, 51%, 23%)
HSVhsv(267, 68%, 34%)
CMYKcmyk(36.8%, 67.8%, 0%, 65.9%)
CIE-LABlab(17.14, 26.79, -30.85)
CIE-LCHlch(17.14, 40.86, 310.97°)
OKLaboklab(29.72% 0.0536 -0.0876)
OKLCHoklch(29.72% 0.103 301.5)
XYZxyz(3.7107, 2.3308, 9.2694)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C57 #3C571C
analogous
#1C1E57 #371C57 #551C57
triadic
#371C57 #57371C #1C5737
tetradic
#371C57 #571C1E #3C571C #1C5755
square
#371C57 #571C1E #3C571C #1C5755
split-complementary
#371C57 #57551C #1E571C
monochromatic
#0F0717 #1A0D29 #371C57 #542B85 #723AB4

Accessibility & contrast

On white

14.32
#371C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C57
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C57#FFFFFF#000000##FFFFFF
##371C571.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#082A56
Tritanopia (blue-blind)
#302936
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371c57;
/* rgb */ color: rgb(55, 28, 87);
/* oklch */ color: oklch(29.7% 0.103 301.5);
Tailwind
colors: {
  custom: {
    50: '#715a87',
    500: '#371c57',
    950: '#000000',
  },
}
SCSS
$custom: #371c57;
$custom-light: #715a87;
$custom-dark: #000000;
JSON
{
  "hex": "#371c57",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 267.458,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29721,
    "c": 0.10269,
    "h": 301.5
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#371C57
secondary
#6B8D42
accent
#DB4D9A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371C57

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

Preview Lab → · Contrast checker → · Palette generator →

#371C57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva