#371048#371048

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

Color values

HEX#371048
RGBrgb(55, 16, 72)
HSLhsl(282, 64%, 17%)
HSVhsv(282, 78%, 28%)
CMYKcmyk(23.6%, 77.8%, 0%, 71.8%)
CIE-LABlab(13.54, 29.47, -26.41)
CIE-LCHlch(13.54, 39.57, 318.14°)
OKLaboklab(26.76% 0.0709 -0.0745)
OKLCHoklch(26.76% 0.103 313.6)
XYZxyz(2.9303, 1.6508, 6.2939)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371048 #214810
analogous
#1B1048 #371048 #48103D
triadic
#371048 #483710 #104837
tetradic
#371048 #481B10 #214810 #103D48
square
#371048 #481B10 #214810 #103D48
split-complementary
#371048 #3D4810 #10481B
monochromatic
#130619 #130619 #371048 #5D1B7A #8426AC

Accessibility & contrast

On white

15.79
#371048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371048
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371048#FFFFFF#000000##FFFFFF
##3710481.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#0C2447
Tritanopia (blue-blind)
#351C2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371048;
/* rgb */ color: rgb(55, 16, 72);
/* oklch */ color: oklch(26.8% 0.103 313.6);
Tailwind
colors: {
  custom: {
    50: '#70527b',
    500: '#371048',
    950: '#000000',
  },
}
SCSS
$custom: #371048;
$custom-light: #70527b;
$custom-dark: #000000;
JSON
{
  "hex": "#371048",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 281.786,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2676,
    "c": 0.10279,
    "h": 313.6
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#371048
secondary
#4A8232
accent
#E74173
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #371048

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

Preview Lab → · Contrast checker → · Palette generator →

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