#371244#371244

#371244 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.095 H 316.1°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#371244
RGBrgb(55, 18, 68)
HSLhsl(284, 58%, 17%)
HSVhsv(284, 74%, 27%)
CMYKcmyk(19.1%, 73.5%, 0%, 73.3%)
CIE-LABlab(13.60, 27.46, -23.51)
CIE-LCHlch(13.60, 36.15, 319.43°)
OKLaboklab(26.71% 0.0686 -0.066)
OKLCHoklch(26.71% 0.095 316.1)
XYZxyz(2.8351, 1.6623, 5.6392)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371244 #1F4412
analogous
#1E1244 #371244 #441238
triadic
#371244 #443712 #124437
tetradic
#371244 #441E12 #1F4412 #123844
square
#371244 #441E12 #1F4412 #123844
split-complementary
#371244 #384412 #12441E
monochromatic
#140618 #140618 #371244 #5E1F74 #852CA5

Accessibility & contrast

On white

15.76
#371244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371244
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371244#FFFFFF#000000##FFFFFF
##3712441.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012145
Deuteranopia (green-blind)
#122443
Tritanopia (blue-blind)
#361B29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371244;
/* rgb */ color: rgb(55, 18, 68);
/* oklch */ color: oklch(26.7% 0.095 316.1);
Tailwind
colors: {
  custom: {
    50: '#705378',
    500: '#371244',
    950: '#000000',
  },
}
SCSS
$custom: #371244;
$custom-light: #705378;
$custom-dark: #000000;
JSON
{
  "hex": "#371244",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 284.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26713,
    "c": 0.09515,
    "h": 316.1
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#371244
secondary
#487D35
accent
#E1466F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371244

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

Preview Lab → · Contrast checker → · Palette generator →

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