#371038#371038

#371038 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.6% C 0.085 H 326.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#371038
RGBrgb(55, 16, 56)
HSLhsl(299, 56%, 14%)
HSVhsv(299, 71%, 22%)
CMYKcmyk(1.8%, 71.4%, 0%, 78%)
CIE-LABlab(12.41, 25.75, -16.92)
CIE-LCHlch(12.41, 30.81, 326.70°)
OKLaboklab(25.58% 0.0712 -0.0468)
OKLCHoklch(25.58% 0.085 326.7)
XYZxyz(2.4746, 1.4685, 3.8937)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371038 #113810
analogous
#231038 #371038 #381025
triadic
#371038 #383710 #103837
tetradic
#371038 #382310 #113810 #102538
square
#371038 #382310 #113810 #102538
split-complementary
#371038 #253810 #103823
monochromatic
#170718 #170718 #371038 #661E68 #952B97

Accessibility & contrast

On white

16.23
#371038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#371038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371038
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371038#FFFFFF#000000##FFFFFF
##3710381.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D39
Deuteranopia (green-blind)
#192237
Tritanopia (blue-blind)
#391522
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #371038;
/* rgb */ color: rgb(55, 16, 56);
/* oklch */ color: oklch(25.6% 0.085 326.7);
Tailwind
colors: {
  custom: {
    50: '#6f516f',
    500: '#371038',
    950: '#000000',
  },
}
SCSS
$custom: #371038;
$custom-light: #6f516f;
$custom-dark: #000000;
JSON
{
  "hex": "#371038",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 298.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25583,
    "c": 0.08519,
    "h": 326.7
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#371038
secondary
#347232
accent
#DF494D
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #371038

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

Preview Lab → · Contrast checker → · Palette generator →

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