#371C56#371C56

#371C56 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.101 H 302.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#371C56
RGBrgb(55, 28, 86)
HSLhsl(268, 51%, 22%)
HSVhsv(268, 67%, 34%)
CMYKcmyk(36%, 67.4%, 0%, 66.3%)
CIE-LABlab(17.06, 26.50, -30.30)
CIE-LCHlch(17.06, 40.26, 311.17°)
OKLaboklab(29.64% 0.0537 -0.086)
OKLCHoklch(29.64% 0.101 302)
XYZxyz(3.6701, 2.3146, 9.0557)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C56 #3B561C
analogous
#1C1E56 #371C56 #541C56
triadic
#371C56 #56371C #1C5637
tetradic
#371C56 #561C1E #3B561C #1C5654
square
#371C56 #561C1E #3B561C #1C5654
split-complementary
#371C56 #56541C #1E561C
monochromatic
#0F0817 #190D28 #371C56 #552B84 #723AB2

Accessibility & contrast

On white

14.35
#371C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C56
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C56#FFFFFF#000000##FFFFFF
##371C561.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#092A55
Tritanopia (blue-blind)
#312836
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371c56;
/* rgb */ color: rgb(55, 28, 86);
/* oklch */ color: oklch(29.6% 0.101 302.0);
Tailwind
colors: {
  custom: {
    50: '#715a86',
    500: '#371c56',
    950: '#000000',
  },
}
SCSS
$custom: #371c56;
$custom-light: #715a86;
$custom-dark: #000000;
JSON
{
  "hex": "#371c56",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 267.931,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2964,
    "c": 0.10135,
    "h": 302
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#371C56
secondary
#698C42
accent
#DA4D99
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371C56

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

Preview Lab → · Contrast checker → · Palette generator →

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