#371956#371956

#371956 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.106 H 302.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#371956
RGBrgb(55, 25, 86)
HSLhsl(270, 55%, 22%)
HSVhsv(270, 71%, 34%)
CMYKcmyk(36%, 70.9%, 0%, 66.3%)
CIE-LABlab(16.40, 28.29, -31.36)
CIE-LCHlch(16.40, 42.24, 312.05°)
OKLaboklab(29.17% 0.0577 -0.0891)
OKLCHoklch(29.17% 0.106 302.9)
XYZxyz(3.6025, 2.1794, 9.0332)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371956 #385619
analogous
#191A56 #371956 #561956
triadic
#371956 #563719 #195637
tetradic
#371956 #56191A #385619 #195656
square
#371956 #56191A #385619 #195656
split-complementary
#371956 #565619 #1A5619
monochromatic
#0F0718 #190B27 #371956 #552785 #7435B5

Accessibility & contrast

On white

14.63
#371956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371956
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371956#FFFFFF#000000##FFFFFF
##3719561.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#042855
Tritanopia (blue-blind)
#312635
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371956;
/* rgb */ color: rgb(55, 25, 86);
/* oklch */ color: oklch(29.2% 0.106 302.9);
Tailwind
colors: {
  custom: {
    50: '#715886',
    500: '#371956',
    950: '#000000',
  },
}
SCSS
$custom: #371956;
$custom-light: #715886;
$custom-dark: #000000;
JSON
{
  "hex": "#371956",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 269.508,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29166,
    "c": 0.10612,
    "h": 302.9
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#371956
secondary
#668C3E
accent
#DE4A95
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371956

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

Preview Lab → · Contrast checker → · Palette generator →

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