#371145#371145

#371145 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.098 H 315.5°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#371145
RGBrgb(55, 17, 69)
HSLhsl(284, 60%, 17%)
HSVhsv(284, 75%, 27%)
CMYKcmyk(20.3%, 75.4%, 0%, 72.9%)
CIE-LABlab(13.49, 28.23, -24.39)
CIE-LCHlch(13.49, 37.31, 319.17°)
OKLaboklab(26.65% 0.0699 -0.0686)
OKLCHoklch(26.65% 0.098 315.5)
XYZxyz(2.8500, 1.6429, 5.7961)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371145 #1F4511
analogous
#1D1145 #371145 #451139
triadic
#371145 #453711 #114537
tetradic
#371145 #451D11 #1F4511 #113945
square
#371145 #451D11 #1F4511 #113945
split-complementary
#371145 #394511 #11451D
monochromatic
#140619 #140619 #371145 #5E1D76 #8529A7

Accessibility & contrast

On white

15.81
#371145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371145
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371145#FFFFFF#000000##FFFFFF
##3711451.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#102444
Tritanopia (blue-blind)
#361B29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371145;
/* rgb */ color: rgb(55, 17, 69);
/* oklch */ color: oklch(26.7% 0.098 315.5);
Tailwind
colors: {
  custom: {
    50: '#705279',
    500: '#371145',
    950: '#000000',
  },
}
SCSS
$custom: #371145;
$custom-light: #705279;
$custom-dark: #000000;
JSON
{
  "hex": "#371145",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 283.846,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.09788,
    "h": 315.5
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#371145
secondary
#487F33
accent
#E4446F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371145

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

Preview Lab → · Contrast checker → · Palette generator →

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