#371345#371345

#371345 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.095 H 315.1°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#371345
RGBrgb(55, 19, 69)
HSLhsl(283, 57%, 17%)
HSVhsv(283, 72%, 27%)
CMYKcmyk(20.3%, 72.5%, 0%, 72.9%)
CIE-LABlab(13.87, 27.16, -23.78)
CIE-LCHlch(13.87, 36.10, 318.80°)
OKLaboklab(26.93% 0.0671 -0.0668)
OKLCHoklch(26.93% 0.095 315.1)
XYZxyz(2.8824, 1.7077, 5.8069)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371345 #214513
analogous
#1E1345 #371345 #45133A
triadic
#371345 #453713 #134537
tetradic
#371345 #451E13 #214513 #133A45
square
#371345 #451E13 #214513 #133A45
split-complementary
#371345 #3A4513 #13451E
monochromatic
#130718 #130718 #371345 #5D2075 #842DA5

Accessibility & contrast

On white

15.65
#371345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371345
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371345#FFFFFF#000000##FFFFFF
##3713451.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022147
Deuteranopia (green-blind)
#122444
Tritanopia (blue-blind)
#361C2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371345;
/* rgb */ color: rgb(55, 19, 69);
/* oklch */ color: oklch(26.9% 0.095 315.1);
Tailwind
colors: {
  custom: {
    50: '#705479',
    500: '#371345',
    950: '#000000',
  },
}
SCSS
$custom: #371345;
$custom-light: #705479;
$custom-dark: #000000;
JSON
{
  "hex": "#371345",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 283.2,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26929,
    "c": 0.09469,
    "h": 315.1
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#371345
secondary
#4A7E36
accent
#E04872
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #371345

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

Preview Lab → · Contrast checker → · Palette generator →

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