#371241#371241

#371241 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.092 H 318.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#371241
RGBrgb(55, 18, 65)
HSLhsl(287, 57%, 16%)
HSVhsv(287, 72%, 25%)
CMYKcmyk(15.4%, 72.3%, 0%, 74.5%)
CIE-LABlab(13.39, 26.73, -21.74)
CIE-LCHlch(13.39, 34.46, 320.88°)
OKLaboklab(26.49% 0.0686 -0.0608)
OKLCHoklch(26.49% 0.092 318.5)
XYZxyz(2.7459, 1.6266, 5.1693)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371241 #1C4112
analogous
#201241 #371241 #411234
triadic
#371241 #413712 #124137
tetradic
#371241 #412012 #1C4112 #123441
square
#371241 #412012 #1C4112 #123441
split-complementary
#371241 #344112 #124120
monochromatic
#140718 #140718 #371241 #601F71 #882DA1

Accessibility & contrast

On white

15.85
#371241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#371241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371241
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371241#FFFFFF#000000##FFFFFF
##3712411.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#142440
Tritanopia (blue-blind)
#371A27
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #371241;
/* rgb */ color: rgb(55, 18, 65);
/* oklch */ color: oklch(26.5% 0.092 318.5);
Tailwind
colors: {
  custom: {
    50: '#705376',
    500: '#371241',
    950: '#000000',
  },
}
SCSS
$custom: #371241;
$custom-light: #705376;
$custom-dark: #000000;
JSON
{
  "hex": "#371241",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 287.234,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2649,
    "c": 0.0917,
    "h": 318.5
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#371241
secondary
#437A35
accent
#E04868
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #371241

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

Preview Lab → · Contrast checker → · Palette generator →

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