#371149#371149

#371149 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.102 H 312.7°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#371149
RGBrgb(55, 17, 73)
HSLhsl(281, 62%, 18%)
HSVhsv(281, 77%, 29%)
CMYKcmyk(24.7%, 76.7%, 0%, 71.4%)
CIE-LABlab(13.79, 29.22, -26.69)
CIE-LCHlch(13.79, 39.57, 317.59°)
OKLaboklab(26.97% 0.0695 -0.0753)
OKLCHoklch(26.97% 0.102 312.7)
XYZxyz(2.9784, 1.6942, 6.4722)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371149 #234911
analogous
#1B1149 #371149 #49113F
triadic
#371149 #493711 #114937
tetradic
#371149 #491B11 #234911 #113F49
square
#371149 #491B11 #234911 #113F49
split-complementary
#371149 #3F4911 #11491B
monochromatic
#130619 #130619 #371149 #5C1D7B #8228AC

Accessibility & contrast

On white

15.69
#371149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#371149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371149
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371149#FFFFFF#000000##FFFFFF
##3711491.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0C2448
Tritanopia (blue-blind)
#351D2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371149;
/* rgb */ color: rgb(55, 17, 73);
/* oklch */ color: oklch(27.0% 0.102 312.7);
Tailwind
colors: {
  custom: {
    50: '#70537c',
    500: '#371149',
    950: '#000000',
  },
}
SCSS
$custom: #371149;
$custom-light: #70537c;
$custom-dark: #000000;
JSON
{
  "hex": "#371149",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 280.714,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26968,
    "c": 0.10246,
    "h": 312.7
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#371149
secondary
#4D8233
accent
#E54377
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #371149

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

Preview Lab → · Contrast checker → · Palette generator →

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