#371045#371045

#371045 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.099 H 315.7°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#371045
RGBrgb(55, 16, 69)
HSLhsl(284, 62%, 17%)
HSVhsv(284, 77%, 27%)
CMYKcmyk(20.3%, 76.8%, 0%, 72.9%)
CIE-LABlab(13.31, 28.74, -24.68)
CIE-LCHlch(13.31, 37.88, 319.34°)
OKLaboklab(26.52% 0.0712 -0.0694)
OKLCHoklch(26.52% 0.099 315.7)
XYZxyz(2.8348, 1.6126, 5.7910)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371045 #1E4510
analogous
#1D1045 #371045 #451039
triadic
#371045 #453710 #104537
tetradic
#371045 #451D10 #1E4510 #103945
square
#371045 #451D10 #1E4510 #103945
split-complementary
#371045 #394510 #10451D
monochromatic
#140619 #140619 #371045 #5F1C77 #8627A8

Accessibility & contrast

On white

15.88
#371045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371045
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371045#FFFFFF#000000##FFFFFF
##3710451.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#0F2344
Tritanopia (blue-blind)
#361A29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #371045;
/* rgb */ color: rgb(55, 16, 69);
/* oklch */ color: oklch(26.5% 0.099 315.7);
Tailwind
colors: {
  custom: {
    50: '#705279',
    500: '#371045',
    950: '#000000',
  },
}
SCSS
$custom: #371045;
$custom-light: #705279;
$custom-dark: #000000;
JSON
{
  "hex": "#371045",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 284.151,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26522,
    "c": 0.09941,
    "h": 315.7
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#371045
secondary
#467F32
accent
#E5426D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371045

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

Preview Lab → · Contrast checker → · Palette generator →

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