#371043#371043

#371043 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.097 H 317.2°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#371043
RGBrgb(55, 16, 67)
HSLhsl(286, 61%, 16%)
HSVhsv(286, 76%, 26%)
CMYKcmyk(17.9%, 76.1%, 0%, 73.7%)
CIE-LABlab(13.16, 28.26, -23.52)
CIE-LCHlch(13.16, 36.77, 320.23°)
OKLaboklab(26.37% 0.0713 -0.066)
OKLCHoklch(26.37% 0.097 317.2)
XYZxyz(2.7738, 1.5882, 5.4695)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371043 #1C4310
analogous
#1E1043 #371043 #431036
triadic
#371043 #433710 #104337
tetradic
#371043 #431E10 #1C4310 #103643
square
#371043 #431E10 #1C4310 #103643
split-complementary
#371043 #364310 #10431E
monochromatic
#140619 #140619 #371043 #601C74 #8828A6

Accessibility & contrast

On white

15.94
#371043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#371043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371043
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371043#FFFFFF#000000##FFFFFF
##3710431.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#112342
Tritanopia (blue-blind)
#361A28
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #371043;
/* rgb */ color: rgb(55, 16, 67);
/* oklch */ color: oklch(26.4% 0.097 317.2);
Tailwind
colors: {
  custom: {
    50: '#705277',
    500: '#371043',
    950: '#000000',
  },
}
SCSS
$custom: #371043;
$custom-light: #705277;
$custom-dark: #000000;
JSON
{
  "hex": "#371043",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 285.882,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26368,
    "c": 0.09717,
    "h": 317.2
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#371043
secondary
#437D32
accent
#E54369
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371043

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

Preview Lab → · Contrast checker → · Palette generator →

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