#371046#371046

#371046 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.101 H 315.0°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#371046
RGBrgb(55, 16, 70)
HSLhsl(283, 63%, 17%)
HSVhsv(283, 77%, 27%)
CMYKcmyk(21.4%, 77.1%, 0%, 72.5%)
CIE-LABlab(13.38, 28.98, -25.26)
CIE-LCHlch(13.38, 38.45, 318.92°)
OKLaboklab(26.6% 0.0711 -0.0711)
OKLCHoklch(26.6% 0.101 315)
XYZxyz(2.8662, 1.6251, 5.9559)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371046 #1F4610
analogous
#1C1046 #371046 #46103A
triadic
#371046 #463710 #104637
tetradic
#371046 #461C10 #1F4610 #103A46
square
#371046 #461C10 #1F4610 #103A46
split-complementary
#371046 #3A4610 #10461C
monochromatic
#140619 #140619 #371046 #5E1B78 #8527AA

Accessibility & contrast

On white

15.85
#371046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371046
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371046#FFFFFF#000000##FFFFFF
##3710461.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#0E2345
Tritanopia (blue-blind)
#361B29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #371046;
/* rgb */ color: rgb(55, 16, 70);
/* oklch */ color: oklch(26.6% 0.101 315.0);
Tailwind
colors: {
  custom: {
    50: '#70527a',
    500: '#371046',
    950: '#000000',
  },
}
SCSS
$custom: #371046;
$custom-light: #70527a;
$custom-dark: #000000;
JSON
{
  "hex": "#371046",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 283.333,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26601,
    "c": 0.10054,
    "h": 315
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#371046
secondary
#488032
accent
#E6426F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371046

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

Preview Lab → · Contrast checker → · Palette generator →

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