#371041#371041

#371041 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.095 H 318.8°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#371041
RGBrgb(55, 16, 65)
HSLhsl(288, 60%, 16%)
HSVhsv(288, 75%, 25%)
CMYKcmyk(15.4%, 75.4%, 0%, 74.5%)
CIE-LABlab(13.01, 27.78, -22.35)
CIE-LCHlch(13.01, 35.66, 321.19°)
OKLaboklab(26.22% 0.0714 -0.0626)
OKLCHoklch(26.22% 0.095 318.8)
XYZxyz(2.7148, 1.5646, 5.1590)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371041 #1A4110
analogous
#1E1041 #371041 #411032
triadic
#371041 #413710 #104137
tetradic
#371041 #411E10 #1A4110 #103241
square
#371041 #411E10 #1A4110 #103241
split-complementary
#371041 #324110 #10411E
monochromatic
#150619 #150619 #371041 #611C72 #8A28A3

Accessibility & contrast

On white

16.00
#371041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#371041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371041
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371041#FFFFFF#000000##FFFFFF
##3710411.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#371926
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #371041;
/* rgb */ color: rgb(55, 16, 65);
/* oklch */ color: oklch(26.2% 0.095 318.8);
Tailwind
colors: {
  custom: {
    50: '#705276',
    500: '#371041',
    950: '#000000',
  },
}
SCSS
$custom: #371041;
$custom-light: #705276;
$custom-dark: #000000;
JSON
{
  "hex": "#371041",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 287.755,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26217,
    "c": 0.09494,
    "h": 318.8
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#371041
secondary
#417B32
accent
#E44465
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #371041

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

Preview Lab → · Contrast checker → · Palette generator →

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