#371147#371147

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

Color values

HEX#371147
RGBrgb(55, 17, 71)
HSLhsl(282, 61%, 17%)
HSVhsv(282, 76%, 28%)
CMYKcmyk(22.5%, 76.1%, 0%, 72.2%)
CIE-LABlab(13.64, 28.72, -25.55)
CIE-LCHlch(13.64, 38.44, 318.35°)
OKLaboklab(26.81% 0.0697 -0.0719)
OKLCHoklch(26.81% 0.1 314.1)
XYZxyz(2.9131, 1.6681, 6.1285)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371147 #214711
analogous
#1C1147 #371147 #47113C
triadic
#371147 #473711 #114737
tetradic
#371147 #471C11 #214711 #113C47
square
#371147 #471C11 #214711 #113C47
split-complementary
#371147 #3C4711 #11471C
monochromatic
#130619 #130619 #371147 #5D1D78 #8329AA

Accessibility & contrast

On white

15.75
#371147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371147
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371147#FFFFFF#000000##FFFFFF
##3711471.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#361C2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371147;
/* rgb */ color: rgb(55, 17, 71);
/* oklch */ color: oklch(26.8% 0.100 314.1);
Tailwind
colors: {
  custom: {
    50: '#70537a',
    500: '#371147',
    950: '#000000',
  },
}
SCSS
$custom: #371147;
$custom-light: #70537a;
$custom-dark: #000000;
JSON
{
  "hex": "#371147",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 282.222,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26809,
    "c": 0.10017,
    "h": 314.1
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#371147
secondary
#4A8133
accent
#E44373
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371147

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

Preview Lab → · Contrast checker → · Palette generator →

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