#371049#371049

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

Color values

HEX#371049
RGBrgb(55, 16, 73)
HSLhsl(281, 64%, 17%)
HSVhsv(281, 78%, 29%)
CMYKcmyk(24.7%, 78.1%, 0%, 71.4%)
CIE-LABlab(13.61, 29.72, -26.97)
CIE-LCHlch(13.61, 40.13, 317.77°)
OKLaboklab(26.84% 0.0707 -0.0761)
OKLCHoklch(26.84% 0.104 312.9)
XYZxyz(2.9632, 1.6639, 6.4671)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371049 #224910
analogous
#1B1049 #371049 #49103E
triadic
#371049 #493710 #104937
tetradic
#371049 #491B10 #224910 #103E49
square
#371049 #491B10 #224910 #103E49
split-complementary
#371049 #3E4910 #10491B
monochromatic
#130619 #130619 #371049 #5D1B7B #8326AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##371049#FFFFFF#000000##FFFFFF
##3710491.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)
#00214B
Deuteranopia (green-blind)
#0B2448
Tritanopia (blue-blind)
#351C2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371049;
/* rgb */ color: rgb(55, 16, 73);
/* oklch */ color: oklch(26.8% 0.104 312.9);
Tailwind
colors: {
  custom: {
    50: '#70527c',
    500: '#371049',
    950: '#000000',
  },
}
SCSS
$custom: #371049;
$custom-light: #70527c;
$custom-dark: #000000;
JSON
{
  "hex": "#371049",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 281.053,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2684,
    "c": 0.10392,
    "h": 312.9
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#371049
secondary
#4B8332
accent
#E74175
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #371049

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

Preview Lab → · Contrast checker → · Palette generator →

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